chore: Use feature_flags attribute instead of settings_flags (#6820)

* chore: Use feature_flag instead of settings_flag

* Remove unnecessary changes
This commit is contained in:
Pranav Raj S
2023-04-04 09:56:58 -07:00
committed by GitHub
parent b7d0016d99
commit ebd5fbef17
7 changed files with 31 additions and 18 deletions

View File

@@ -0,0 +1,13 @@
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

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2023_03_28_131926) do
ActiveRecord::Schema.define(version: 2023_04_04_030719) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
@@ -50,7 +50,6 @@ ActiveRecord::Schema.define(version: 2023_03_28_131926) do
t.integer "locale", default: 0
t.string "domain", limit: 100
t.string "support_email", limit: 100
t.integer "settings_flags", default: 0, null: false
t.integer "feature_flags", default: 0, null: false
t.integer "auto_resolve_duration"
t.jsonb "limits", default: {}