| 1 | CREATE TABLE "stars" ( |
| 2 | "id" text PRIMARY KEY |
| 3 | "userId" text NOT NULL |
| 4 | "repositoryId" text NOT NULL |
| 5 | "createdAt" timestamp DEFAULT |
| 6 | "updatedAt" timestamp DEFAULT |
| 7 | CONSTRAINT "stars_id_unique" UNIQUE |
| 8 | ); |
| 9 | --> statement-breakpoint |
| 10 | ALTER TABLE "stars" ADD |
| 11 | ALTER TABLE "stars" ADD |
| 12 | CREATE UNIQUE INDEX "stars_userId_repositoryId_index" ON |