You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
await queryRunner.query(`ALTER TABLE "contact" ADD CONSTRAINT "FK_ffba1fb926fd8e7121345ebeeb8" FOREIGN KEY ("contactedById") REFERENCES "user"("id") ON DELETE SET NULL ON UPDATE NO ACTION`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "contact" DROP CONSTRAINT "FK_ffba1fb926fd8e7121345ebeeb8"`);
await queryRunner.query(`ALTER TABLE "contact" DROP COLUMN "contactedById"`);