blob: 45c18ecca45112ed2e2f57eeeaaa05f27706d5f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
class CreateClusterEnabledGrants < Gitlab::Database::Migration[2.0]
enable_lock_retries!
def change
create_table :cluster_enabled_grants do |t|
t.references :namespace, index: { unique: true }, null: false, foreign_key: { on_delete: :cascade }
t.datetime_with_timezone :created_at, null: false
end
end
end
|