feat: Make appKey column of app auth clients not nullable

This commit is contained in:
Faruk AYDIN
2024-03-26 21:23:22 +01:00
parent 74b7dd8f34
commit e8193e0e17

View File

@@ -0,0 +1,11 @@
export async function up(knex) {
await knex.schema.table('app_auth_clients', (table) => {
table.string('app_key').notNullable().alter();
});
}
export async function down(knex) {
await knex.schema.table('app_auth_clients', (table) => {
table.string('app_key').nullable().alter();
});
}