debian-mirror-gitlab/db/migrate/20230307000000_create_design_management_repository.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
342 B
Ruby
Raw Normal View History

2023-06-20 00:43:36 +05:30
# frozen_string_literal: true
class CreateDesignManagementRepository < Gitlab::Database::Migration[2.1]
def change
create_table :design_management_repositories do |t|
t.references :project, index: { unique: true }, null: false, foreign_key: { on_delete: :cascade }
t.timestamps_with_timezone null: false
end
end
end