debian-mirror-gitlab/db/migrate/20230307000000_create_design_management_repository.rb
2023-06-20 00:43:36 +05:30

11 lines
342 B
Ruby

# 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