diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-07 15:09:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-07 15:09:00 +0300 |
commit | ba27dbddc7dbc42f2cc8d84e815a9ea19f87a81d (patch) | |
tree | e71fba864897fa78be7f0c40ded23d0f719abf84 /db | |
parent | 708815aefead73a61473c1a611aea169ab16a358 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20230603174306_add_finished_at_column_to_batched_background_migrations_table.rb | 7 | ||||
-rw-r--r-- | db/schema_migrations/20230603174306 | 1 | ||||
-rw-r--r-- | db/structure.sql | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20230603174306_add_finished_at_column_to_batched_background_migrations_table.rb b/db/migrate/20230603174306_add_finished_at_column_to_batched_background_migrations_table.rb new file mode 100644 index 00000000000..2ed27ab90e6 --- /dev/null +++ b/db/migrate/20230603174306_add_finished_at_column_to_batched_background_migrations_table.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class AddFinishedAtColumnToBatchedBackgroundMigrationsTable < Gitlab::Database::Migration[2.1] + def change + add_column :batched_background_migrations, :finished_at, :datetime_with_timezone + end +end diff --git a/db/schema_migrations/20230603174306 b/db/schema_migrations/20230603174306 new file mode 100644 index 00000000000..04cbccbd92d --- /dev/null +++ b/db/schema_migrations/20230603174306 @@ -0,0 +1 @@ +454e3d39b12034fc319c528d7bca658b066bf150b9e75f3d51af127fe1f46289
\ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index f1aba967e4b..cc22a017044 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -12484,6 +12484,7 @@ CREATE TABLE batched_background_migrations ( started_at timestamp with time zone, on_hold_until timestamp with time zone, gitlab_schema text NOT NULL, + finished_at timestamp with time zone, CONSTRAINT check_0406d9776f CHECK ((char_length(gitlab_schema) <= 255)), CONSTRAINT check_5bb0382d6f CHECK ((char_length(column_name) <= 63)), CONSTRAINT check_6b6a06254a CHECK ((char_length(table_name) <= 63)), |