replaced tauri-sql with prisma-client-rust
This commit is contained in:
11
src-tauri/prisma/schema.prisma
Normal file
11
src-tauri/prisma/schema.prisma
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user