fix: Use uuid for down migration of app config id removal

This commit is contained in:
Faruk AYDIN
2024-10-25 00:59:00 +02:00
parent 0e4fc7efbc
commit 240854e4ac

View File

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