Wip: reset db default value

This commit is contained in:
KMY 2023-04-06 13:20:14 +09:00
parent 502761c0ad
commit c358cb1f4e
4 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,5 @@
class AddSearchabilityToAccounts < ActiveRecord::Migration[6.1]
def change
add_column :accounts, :searchability, :integer, null: false, default: 3
add_column :accounts, :searchability, :integer, null: false, default: 0
end
end