enzostvs HF staff commited on
Commit
687eb41
β€’
1 Parent(s): c631382

remove prisma db

Browse files
.gitignore CHANGED
@@ -10,3 +10,5 @@ node_modules
10
  .output
11
  vite.config.js.timestamp-*
12
  vite.config.ts.timestamp-*
 
 
 
10
  .output
11
  vite.config.js.timestamp-*
12
  vite.config.ts.timestamp-*
13
+ prisma/dev.db
14
+ prisma/migrations/*
prisma/dev.db DELETED
Binary file (57.3 kB)
 
prisma/migrations/20240111171434_/migration.sql DELETED
@@ -1,31 +0,0 @@
1
- -- CreateTable
2
- CREATE TABLE "Model" (
3
- "id" TEXT NOT NULL PRIMARY KEY,
4
- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
5
- "title" TEXT NOT NULL,
6
- "image" TEXT NOT NULL,
7
- "likes" INTEGER,
8
- "downloads" INTEGER,
9
- "isPublic" BOOLEAN NOT NULL DEFAULT false,
10
- "hf_user_id" TEXT
11
- );
12
-
13
- -- CreateTable
14
- CREATE TABLE "Gallery" (
15
- "id" TEXT NOT NULL PRIMARY KEY,
16
- "hf_user_id" TEXT,
17
- "prompt" TEXT NOT NULL,
18
- "image" TEXT NOT NULL,
19
- "modelId" TEXT NOT NULL,
20
- CONSTRAINT "Gallery_modelId_fkey" FOREIGN KEY ("modelId") REFERENCES "Model" ("id") ON DELETE RESTRICT ON UPDATE CASCADE
21
- );
22
-
23
- -- CreateTable
24
- CREATE TABLE "Reaction" (
25
- "id" TEXT NOT NULL PRIMARY KEY,
26
- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
27
- "emoji" TEXT NOT NULL,
28
- "hf_user_id" TEXT,
29
- "galleryId" TEXT,
30
- CONSTRAINT "Reaction_galleryId_fkey" FOREIGN KEY ("galleryId") REFERENCES "Gallery" ("id") ON DELETE SET NULL ON UPDATE CASCADE
31
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
prisma/migrations/migration_lock.toml DELETED
@@ -1,3 +0,0 @@
1
- # Please do not edit this file manually
2
- # It should be added in your version-control system (i.e. Git)
3
- provider = "sqlite"