| gio | 5f2f100 | 2025-03-20 18:38:48 +0400 | [diff] [blame] | 1 | // This is your Prisma schema file, |
| 2 | // learn more about it in the docs: https://pris.ly/d/prisma-schema |
| 3 | |
| 4 | // Looking for ways to speed up your queries, or scale easily with your serverless or edge functions? |
| 5 | // Try Prisma Accelerate: https://pris.ly/cli/accelerate-init |
| 6 | |
| 7 | generator client { |
| 8 | provider = "prisma-client-js" |
| 9 | } |
| 10 | |
| 11 | datasource db { |
| 12 | provider = "sqlite" |
| gio | 01ed36f | 2025-05-01 08:43:04 +0000 | [diff] [blame] | 13 | url = "file:/home/gio/dodo.db" // TODO(gio): make configurable |
| gio | 5f2f100 | 2025-03-20 18:38:48 +0400 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | model Project { |
| 17 | id Int @id @default(autoincrement()) |
| 18 | userId String |
| 19 | name String |
| 20 | state Bytes? |
| 21 | draft Bytes? |
| gio | 218e813 | 2025-04-22 17:11:58 +0000 | [diff] [blame] | 22 | instanceId String? |
| 23 | deployKey String? |
| gio | 7f98e77 | 2025-05-07 11:00:14 +0000 | [diff] [blame] | 24 | githubToken String? |
| gio | 5f2f100 | 2025-03-20 18:38:48 +0400 | [diff] [blame] | 25 | } |