diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-06-03 20:47:02 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-06-03 20:47:02 +0200 |
commit | 0157caacefe34838ff5d5093dc188f5491cb7b15 (patch) | |
tree | a5b56590b7660b6ed3257f929bf209a26cb25a15 /db/post_migrate | |
parent | 02dffa8edd097014578774aed30249ed08d2f3a4 (diff) | |
parent | f6088922c06f3da02e9051b39f3a7111f19298dd (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20210526193025_remove_lock_version_from_account_stats.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/post_migrate/20210526193025_remove_lock_version_from_account_stats.rb b/db/post_migrate/20210526193025_remove_lock_version_from_account_stats.rb new file mode 100644 index 000000000..3079bed09 --- /dev/null +++ b/db/post_migrate/20210526193025_remove_lock_version_from_account_stats.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class RemoveLockVersionFromAccountStats < ActiveRecord::Migration[5.2] + def change + safety_assured do + remove_column :account_stats, :lock_version, :integer, null: false, default: 0 + end + end +end |