feat(app-config): add useOnlyPredefinedAuthClients property
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export async function up(knex) {
|
||||
return await knex.schema.alterTable('app_configs', (table) => {
|
||||
table.boolean('use_only_predefined_auth_clients').defaultTo(false);
|
||||
});
|
||||
}
|
||||
|
||||
export async function down(knex) {
|
||||
return await knex.schema.alterTable('app_configs', (table) => {
|
||||
table.dropColumn('use_only_predefined_auth_clients');
|
||||
});
|
||||
}
|
@@ -16,6 +16,7 @@ class AppConfig extends Base {
|
||||
properties: {
|
||||
id: { type: 'string', format: 'uuid' },
|
||||
key: { type: 'string' },
|
||||
useOnlyPredefinedAuthClients: { type: 'boolean', default: false },
|
||||
connectionAllowed: { type: 'boolean', default: false },
|
||||
customConnectionAllowed: { type: 'boolean', default: false },
|
||||
shared: { type: 'boolean', default: false },
|
||||
|
Reference in New Issue
Block a user