feat: Remove id field from app config model
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user