Migrate DB to add moderation attrs to budget_investments table
This commit is contained in:
@@ -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
|
||||
@@ -198,6 +198,9 @@ ActiveRecord::Schema.define(version: 20180711224810) do
|
||||
t.integer "community_id"
|
||||
t.boolean "visible_to_valuators", default: false
|
||||
t.integer "valuator_group_assignments_count", default: 0
|
||||
t.datetime "confirmed_hide_at"
|
||||
t.datetime "ignored_flag_at"
|
||||
t.integer "flags_count", default: 0
|
||||
end
|
||||
|
||||
add_index "budget_investments", ["administrator_id"], name: "index_budget_investments_on_administrator_id", using: :btree
|
||||
|
||||
Reference in New Issue
Block a user