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
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20220704045440_drop_project_tracing_settings_table.rb')
-rw-r--r--db/post_migrate/20220704045440_drop_project_tracing_settings_table.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/db/post_migrate/20220704045440_drop_project_tracing_settings_table.rb b/db/post_migrate/20220704045440_drop_project_tracing_settings_table.rb
new file mode 100644
index 00000000000..1ce8b05a08d
--- /dev/null
+++ b/db/post_migrate/20220704045440_drop_project_tracing_settings_table.rb
@@ -0,0 +1,17 @@
+# frozen_string_literal: true
+
+class DropProjectTracingSettingsTable < Gitlab::Database::Migration[2.0]
+ def up
+ drop_table :project_tracing_settings
+ end
+
+ def down
+ create_table :project_tracing_settings, id: :bigserial do |t|
+ t.timestamps_with_timezone null: false
+
+ t.references :project, type: :integer, null: false, index: { unique: true }
+
+ t.string :external_url, null: false
+ end
+ end
+end