parent
42357d1f74
commit
e3da03e55f
@ -1,5 +1,6 @@
|
||||
class AddPraisesCountForHacks < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :hacks, :praises_count, :integer, :default => 0
|
||||
add_column :hacks, :comments_count, :integer, :default => 0
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in new issue