replaced tauri-sql with prisma-client-rust

This commit is contained in:
Ren Amamiya
2023-04-02 08:30:36 +07:00
parent 27082acf5c
commit 9b8a96c651
8 changed files with 2117 additions and 331 deletions

View File

@@ -0,0 +1,11 @@
datasource db {
provider = "sqlite"
url = "file:lume.db"
}
generator client {
// Corresponds to the cargo alias created earlier
provider = "cargo prisma"
// The location to generate the client. Is relative to the position of the schema
output = "../src/prisma.rs"
}