summaryrefslogtreecommitdiff
path: root/db/migrate/20210512120122_add_pending_builds_table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210512120122_add_pending_builds_table.rb')
-rw-r--r--db/migrate/20210512120122_add_pending_builds_table.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/db/migrate/20210512120122_add_pending_builds_table.rb b/db/migrate/20210512120122_add_pending_builds_table.rb
deleted file mode 100644
index 38e13d43b38..00000000000
--- a/db/migrate/20210512120122_add_pending_builds_table.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddPendingBuildsTable < ActiveRecord::Migration[6.0]
- def up
- create_table :ci_pending_builds do |t|
- t.references :build, index: { unique: true }, null: false, foreign_key: { to_table: :ci_builds, on_delete: :cascade }
- t.references :project, index: true, null: false, foreign_key: { on_delete: :cascade }
- t.datetime_with_timezone :created_at, null: false, default: -> { 'NOW()' }
- end
- end
-
- def down
- drop_table :ci_pending_builds
- end
-end