diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-26 15:12:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-26 15:12:49 +0300 |
commit | 5343536f2bb402bc767db2d015e45ac87189d7c3 (patch) | |
tree | 29e7630ace5f465f0b3d6374c044dbb57227d694 /db | |
parent | bc8f298b647859a411d38a440c397e5990ef4941 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20211122193948_cleanup_background_migration_of_requirements_to_work_items.rb | 17 | ||||
-rw-r--r-- | db/schema_migrations/20211122193948 | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/db/post_migrate/20211122193948_cleanup_background_migration_of_requirements_to_work_items.rb b/db/post_migrate/20211122193948_cleanup_background_migration_of_requirements_to_work_items.rb new file mode 100644 index 00000000000..df4867d6ae7 --- /dev/null +++ b/db/post_migrate/20211122193948_cleanup_background_migration_of_requirements_to_work_items.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +class CleanupBackgroundMigrationOfRequirementsToWorkItems < Gitlab::Database::Migration[1.0] + disable_ddl_transaction! + + MIGRATION = 'MigrateRequirementsToWorkItems' + + disable_ddl_transaction! + + def up + finalize_background_migration(MIGRATION) + end + + def down + # no-op + end +end diff --git a/db/schema_migrations/20211122193948 b/db/schema_migrations/20211122193948 new file mode 100644 index 00000000000..94dbab4cd73 --- /dev/null +++ b/db/schema_migrations/20211122193948 @@ -0,0 +1 @@ +12203afb7b66a12946d971dd601d2ce91e1408fcdf36d9d8b2fadcf09d7c1e56
\ No newline at end of file |