From c743f99aa9594df64e0f89a661910d2ca4efe715 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 14 Nov 2023 16:47:49 +0530 Subject: [PATCH] feat: convert feature_flags to bigint --- ...4111614_change_feature_flags_to_bigint_in_accounts.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20231114111614_change_feature_flags_to_bigint_in_accounts.rb diff --git a/db/migrate/20231114111614_change_feature_flags_to_bigint_in_accounts.rb b/db/migrate/20231114111614_change_feature_flags_to_bigint_in_accounts.rb new file mode 100644 index 000000000..e91f5c593 --- /dev/null +++ b/db/migrate/20231114111614_change_feature_flags_to_bigint_in_accounts.rb @@ -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