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
awaitqueryRunner.query(`CREATE TABLE "benchmarks" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "title" character varying NOT NULL, "subject" character varying NOT NULL, "giturl" character varying NOT NULL, "createdAt" TIMESTAMP NOT NULL DEFAULT now(), "difficulty" character varying NOT NULL, "creatorId" uuid, CONSTRAINT "PK_7e1ca1c910680770da116e0b95c" PRIMARY KEY ("id"))`);
7
+
awaitqueryRunner.query(`CREATE TABLE "benchmarks" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "title" character varying NOT NULL, "subject" character varying NOT NULL, "gitUrl" character varying NOT NULL, "createdAt" TIMESTAMP NOT NULL DEFAULT now(), "difficulty" character varying NOT NULL, "creatorId" uuid, CONSTRAINT "PK_7e1ca1c910680770da116e0b95c" PRIMARY KEY ("id"))`);
8
8
awaitqueryRunner.query(`ALTER TABLE "benchmarks" ADD CONSTRAINT "FK_f7dfba1f69546feced443cd097c" FOREIGN KEY ("creatorId") REFERENCES "users"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`);
0 commit comments