feat: convert feature_flag to bigint [CW-2767] (#8350)
Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class ChangeFeatureFlagsToBigintInAccounts < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
change_column :accounts, :feature_flags, :bigint
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :accounts, :feature_flags, :integer
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_10_13_072802) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_11_14_111614) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_stat_statements"
|
||||
enable_extension "pg_trgm"
|
||||
@@ -49,7 +49,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_13_072802) do
|
||||
t.integer "locale", default: 0
|
||||
t.string "domain", limit: 100
|
||||
t.string "support_email", limit: 100
|
||||
t.integer "feature_flags", default: 0, null: false
|
||||
t.bigint "feature_flags", default: 0, null: false
|
||||
t.integer "auto_resolve_duration"
|
||||
t.jsonb "limits", default: {}
|
||||
t.jsonb "custom_attributes", default: {}
|
||||
|
||||
Reference in New Issue
Block a user