mirror of https://github.com/mastodon/mastodon
Fix locking migration on statuses table. Nullable column and NO default value (#4825)
parent
dd5cb5085c
commit
11bddd31ce
@ -1,5 +1,5 @@
|
|||||||
class AddLocalToStatuses < ActiveRecord::Migration[5.1]
|
class AddLocalToStatuses < ActiveRecord::Migration[5.1]
|
||||||
def change
|
def change
|
||||||
add_column :statuses, :local, :boolean, null: true, default: false
|
add_column :statuses, :local, :boolean, null: true, default: nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue