-- CreateTable
CREATE TABLE "Model" (
    "id" TEXT NOT NULL PRIMARY KEY,
    "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "repo" TEXT NOT NULL,
    "title" TEXT NOT NULL,
    "image" TEXT,
    "likes" INTEGER,
    "downloads" INTEGER,
    "isPublic" BOOLEAN NOT NULL DEFAULT false
);

-- CreateIndex
CREATE UNIQUE INDEX "Model_repo_key" ON "Model"("repo");
