debian-mirror-gitlab/db/migrate/20221107183222_create_project_wiki_repositories.rb

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

12 lines
334 B
Ruby
Raw Normal View History

2023-01-13 00:05:48 +05:30
# frozen_string_literal: true
class CreateProjectWikiRepositories < Gitlab::Database::Migration[2.0]
def change
create_table :project_wiki_repositories do |t|
t.references :project, index: { unique: true }, foreign_key: { on_delete: :cascade }, null: false
t.timestamps_with_timezone null: false
end
end
end