File size: 547 Bytes
17aecfb
 
 
 
 
 
 
 
 
 
 
 
 
b1a4d81
 
 
 
17aecfb
b1a4d81
17aecfb
b1a4d81
 
 
 
17aecfb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "sqlite"
  url      = env("DATABASE_URL")
}

model Model {
  id         String   @id @default(uuid())
  createdAt  DateTime @default(now())
  repo       String   @unique
  title      String
  // trigger_word String?
  image      String
  // weights      String?
  likes      Int?
  downloads  Int?
  isPublic   Boolean  @default(false)
  hf_user_id String?
}