debian-mirror-gitlab/db/migrate/20200215225103_drop_forked_project_links_table.rb

22 lines
651 B
Ruby
Raw Normal View History

2020-04-08 14:13:33 +05:30
# frozen_string_literal: true
2020-04-22 19:07:51 +05:30
# rubocop:disable Migration/Datetime
2020-04-08 14:13:33 +05:30
class DropForkedProjectLinksTable < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
2020-06-23 00:09:42 +05:30
# rubocop:disable Migration/DropTable
2020-04-08 14:13:33 +05:30
drop_table "forked_project_links", id: :serial do |t|
t.integer "forked_to_project_id", null: false
t.integer "forked_from_project_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.index ["forked_to_project_id"], name: "index_forked_project_links_on_forked_to_project_id", unique: true
end
2020-06-23 00:09:42 +05:30
# rubocop:enable Migration/DropTable
2020-04-08 14:13:33 +05:30
end
end