Require permitted scopes when registering a client (#29718)

This commit is contained in:
Angus McLeod
2024-11-19 21:28:04 +01:00
committed by GitHub
parent 4f11d16deb
commit ec7de0fd68
12 changed files with 259 additions and 44 deletions

View File

@ -0,0 +1,10 @@
# frozen_string_literal: true
class CreateUserApiKeyClientScopes < ActiveRecord::Migration[7.1]
def change
create_table :user_api_key_client_scopes do |t|
t.bigint :user_api_key_client_id, null: false
t.string :name, null: false, limit: 100
t.timestamps
end
end
end