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

@ -0,0 +1,5 @@
class ChangeSearchabilityDefaultValue < ActiveRecord::Migration[6.1]
def change
change_column_default :accounts, :searchability, from: 0, to: 2
end
end