Skip to content

Commit 964734e

Browse files
re-reconcile migrations
1 parent 8851d70 commit 964734e

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

nix/tests/test-bundle-starts.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ let
1111
in
1212
{
1313
name = "test-bundle-starts";
14+
skipTypeCheck = true;
15+
skipLint = true;
1416

1517
nodes.machine = {
1618
imports = [ self.nixosModules.default ];
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { MigrationInterface, QueryRunner } from "typeorm";
2+
3+
export class ReconcileMigrationsAgain1776178641999 implements MigrationInterface {
4+
name = "ReconcileMigrationsAgain1776178641999";
5+
6+
public async up(queryRunner: QueryRunner): Promise<void> {
7+
// since we're no longer using syncDb()!
8+
await queryRunner.query(`ALTER TABLE "webhooks" DROP CONSTRAINT IF EXISTS "fk_d64f38834fa676f6caa4786ddd6"`);
9+
}
10+
11+
public async down(queryRunner: QueryRunner): Promise<void> {
12+
console.log("no.");
13+
}
14+
}

0 commit comments

Comments
 (0)