// This is your Prisma schema file, // learn more about it in the docs: https://pris.ly/d/prisma-schema // Looking for ways to speed up your queries, or scale easily with your serverless or edge functions? // Try Prisma Accelerate: https://pris.ly/cli/accelerate-init generator client { provider = "prisma-client-js" } datasource db { provider = "sqlite" url = "file:./dev.db" } // model User { // id Int @id @default(autoincrement()) // name String // email String @unique // password String // createdTime DateTime @default(now()) @map("created_time") // updatedTime DateTime @updatedAt @map("updated_time") // @@map("user") // } // 测量数据 model measurement { id Int @id @default(autoincrement()) name String railId Int bureau String line String section String direction String createAt DateTime @default(now()) @map("create_at") leftPoints String @map("left_points") rightPoints String @map("right_points") upload Boolean @default(false) }