diff --git a/nix/tests/test-bundle-starts.nix b/nix/tests/test-bundle-starts.nix index b43f68fd6..b9e5d0e20 100644 --- a/nix/tests/test-bundle-starts.nix +++ b/nix/tests/test-bundle-starts.nix @@ -11,6 +11,8 @@ let in { name = "test-bundle-starts"; + skipTypeCheck = true; + skipLint = true; nodes.machine = { imports = [ self.nixosModules.default ]; diff --git a/src/util/migration/postgres/177617864199-ReconcileMigrationsAgain.ts b/src/util/migration/postgres/177617864199-ReconcileMigrationsAgain.ts new file mode 100644 index 000000000..e8a68f135 --- /dev/null +++ b/src/util/migration/postgres/177617864199-ReconcileMigrationsAgain.ts @@ -0,0 +1,14 @@ +import { MigrationInterface, QueryRunner } from "typeorm"; + +export class ReconcileMigrationsAgain1776178641999 implements MigrationInterface { + name = "ReconcileMigrationsAgain1776178641999"; + + public async up(queryRunner: QueryRunner): Promise { + // since we're no longer using syncDb()! + await queryRunner.query(`ALTER TABLE "webhooks" DROP CONSTRAINT IF EXISTS "fk_d64f38834fa676f6caa4786ddd6"`); + } + + public async down(queryRunner: QueryRunner): Promise { + console.log("no."); + } +}