diff --git a/apps/subscription-server/db/migrations/20250805_fix_user_addresses_id_type.ts b/apps/subscription-server/db/migrations/20250805_fix_user_addresses_id_type.ts new file mode 100644 index 00000000..98ae9d1f --- /dev/null +++ b/apps/subscription-server/db/migrations/20250805_fix_user_addresses_id_type.ts @@ -0,0 +1,11 @@ +import type { Knex } from "knex"; + +// This migration ran in production (recorded in knex_migrations) but its file +// was accidentally deleted in commit 7b7f1e1d. It converted user_addresses.id +// from serial int to varchar(36) UUID — the create-table migration +// (20250715000000) now creates the correct schema directly, so fresh DBs need +// nothing. The file must exist with this exact name or knex refuses to run +// any migrations ("migration directory is corrupt"). +export async function up(_knex: Knex): Promise {} + +export async function down(_knex: Knex): Promise {}