Do not set default in `add_column` migration.

staging
multiple creatures 2019-04-14 20:59:31 -05:00
parent 2db51e2f4c
commit 1823e78aa7
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
class AddCuratedToStatus < ActiveRecord::Migration[5.2]
def change
add_column :statuses, :curated, :boolean, null: true, default: nil
add_column :statuses, :curated, :boolean
end
end