feat(workspaces): migrate slug to match the workspaceId (#3132)

This commit is contained in:
Gergő Jedlicska
2024-09-26 13:53:24 +02:00
committed by GitHub
parent f28c144d61
commit d212bac48e
@@ -0,0 +1,7 @@
import { Knex } from 'knex'
export async function up(knex: Knex): Promise<void> {
await knex.raw('update workspaces set slug = id')
}
export async function down(): Promise<void> {}