blob: 770c62604ff5dd3b5ac70d7d6bbc6567eea33815 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# 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
|