feat: Remove id field from app config model

This commit is contained in:
Faruk AYDIN
2024-10-24 15:14:55 +02:00
parent 6a7a90536b
commit f0bd763e72

View File

@@ -0,0 +1,11 @@
export async function up(knex) {
return knex.schema.alterTable('app_configs', function (table) {
table.dropColumn('id');
});
}
export async function down(knex) {
return knex.schema.alterTable('app_configs', function (table) {
table.increments('id').primary();
});
}