diff --git a/packages/server/modules/workspacesCore/migrations/20240926112407_copy_workspace_slug.ts b/packages/server/modules/workspacesCore/migrations/20240926112407_copy_workspace_slug.ts new file mode 100644 index 000000000..769106f55 --- /dev/null +++ b/packages/server/modules/workspacesCore/migrations/20240926112407_copy_workspace_slug.ts @@ -0,0 +1,7 @@ +import { Knex } from 'knex' + +export async function up(knex: Knex): Promise { + await knex.raw('update workspaces set slug = id') +} + +export async function down(): Promise {}