blob: 02b6ac677e00fef1c7b213346aaa778d131c66b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
class CreateAgentProjectAuthorizations < Gitlab::Database::Migration[1.0]
def change
create_table :agent_project_authorizations do |t|
t.bigint :project_id, null: false
t.bigint :agent_id, null: false
t.jsonb :config, null: false
t.index :project_id
t.index [:agent_id, :project_id], unique: true
end
end
end
|