mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
Require permitted scopes when registering a client (#29718)
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user