diff options
Diffstat (limited to 'db/migrate/20230329032129_add_lock_version_to_terraform_state.rb')
-rw-r--r-- | db/migrate/20230329032129_add_lock_version_to_terraform_state.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20230329032129_add_lock_version_to_terraform_state.rb b/db/migrate/20230329032129_add_lock_version_to_terraform_state.rb new file mode 100644 index 00000000000..78f0122c609 --- /dev/null +++ b/db/migrate/20230329032129_add_lock_version_to_terraform_state.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddLockVersionToTerraformState < Gitlab::Database::Migration[2.1] + enable_lock_retries! + + def change + add_column :terraform_states, :activerecord_lock_version, :integer, null: false, default: 0 + end +end |