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 70f5e45c1f
commit 186160ebf4

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();
});
}