+CREATE TABLE "public"."contest_team_software_final_code" ("team_id" uuid NOT NULL, "URL" text NOT NULL, "created_at" Timestamp NOT NULL DEFAULT now(), "updated_at" timestamptz NOT NULL DEFAULT now(), "submission_count" integer NOT NULL, "contest_id" uuid, PRIMARY KEY ("team_id") , FOREIGN KEY ("team_id") REFERENCES "public"."contest_team"("team_id") ON UPDATE cascade ON DELETE cascade, FOREIGN KEY ("contest_id") REFERENCES "public"."contest"("id") ON UPDATE restrict ON DELETE restrict, UNIQUE ("team_id"));
0 commit comments