0
0
Fork 0

Fix locking migration on statuses table. Nullable column and NO default value (#4825)

This commit is contained in:
Eugen Rochko 2017-09-06 20:57:52 +02:00 committed by GitHub
parent dd5cb5085c
commit 11bddd31ce
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
class AddLocalToStatuses < ActiveRecord::Migration[5.1]
def change
add_column :statuses, :local, :boolean, null: true, default: false
add_column :statuses, :local, :boolean, null: true, default: nil
end
end