Migrate DB to add moderation attrs to budget_investments table

This commit is contained in:
Angel Perez
2018-06-13 11:26:20 -04:00
parent 81b102f002
commit 335f78ae24
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class AddModerationAttrsToInvestments < ActiveRecord::Migration
def change
change_table :budget_investments do |t|
t.datetime :confirmed_hide_at
t.datetime :ignored_flag_at
t.integer :flags_count, default: 0
end
end
end