diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-08-28 03:31:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-28 03:31:54 +0200 |
commit | c556c3a0d1e54a6b07bbdd8f76cbb43672a91fd1 (patch) | |
tree | 4a5b8cbce1e63c42d79c6feb8606343bdb26313b /db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb | |
parent | b399d79545e5e5430cb9d6a2c936efc244b69a75 (diff) |
Add admin API for managing canonical e-mail blocks (#19067)
Diffstat (limited to 'db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb')
-rw-r--r-- | db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb b/db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb new file mode 100644 index 000000000..5b3ec4727 --- /dev/null +++ b/db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb @@ -0,0 +1,5 @@ +class ChangeCanonicalEmailBlocksNullable < ActiveRecord::Migration[6.1] + def change + safety_assured { change_column :canonical_email_blocks, :reference_account_id, :bigint, null: true, default: nil } + end +end |