Files
leadchat/db/migrate/20230404030719_remove_settings_flags_from_account.rb
Pranav Raj S ebd5fbef17 chore: Use feature_flags attribute instead of settings_flags (#6820)
* chore: Use feature_flag instead of settings_flag

* Remove unnecessary changes
2023-04-04 09:56:58 -07:00

14 lines
277 B
Ruby

class RemoveSettingsFlagsFromAccount < ActiveRecord::Migration[6.1]
def up
change_table :accounts do |t|
t.remove :settings_flags
end
end
def down
change_table :accounts do |t|
t.integer :settings_flags, default: 0, null: false
end
end
end