diff options
Diffstat (limited to 'db/migrate/20230823174108_add_patch_id_sha_on_approvals.rb')
-rw-r--r-- | db/migrate/20230823174108_add_patch_id_sha_on_approvals.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20230823174108_add_patch_id_sha_on_approvals.rb b/db/migrate/20230823174108_add_patch_id_sha_on_approvals.rb new file mode 100644 index 00000000000..ef68b66d2e8 --- /dev/null +++ b/db/migrate/20230823174108_add_patch_id_sha_on_approvals.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class AddPatchIdShaOnApprovals < Gitlab::Database::Migration[2.1] + enable_lock_retries! + + def up + add_column :approvals, :patch_id_sha, :binary + end + + def down + remove_column :approvals, :patch_id_sha + end +end |