Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-07 15:09:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-07 15:09:00 +0300
commitba27dbddc7dbc42f2cc8d84e815a9ea19f87a81d (patch)
treee71fba864897fa78be7f0c40ded23d0f719abf84 /db
parent708815aefead73a61473c1a611aea169ab16a358 (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.rb7
-rw-r--r--db/schema_migrations/202306031743061
-rw-r--r--db/structure.sql1
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)),