fix: Use uuid for down migration of app config id removal
This commit is contained in:
@@ -6,6 +6,6 @@ export async function up(knex) {
|
||||
|
||||
export async function down(knex) {
|
||||
return knex.schema.alterTable('app_configs', function (table) {
|
||||
table.increments('id').primary();
|
||||
table.uuid('id').defaultTo(knex.raw('gen_random_uuid()'));
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user