You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kempt-kinkajou-2023/weather_platform/libs/prisma-clients/Sensors/prisma/schema.prisma

28 lines
945 B

// 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"
output = "../../../../node_modules/.prisma/Sensors-client"
}
datasource db {
provider = "postgresql"
url = env("SENSORS_SOURCE_URL")
}
model Sensor {
uuid String @id @default(uuid()) @db.VarChar(36)
createdAt DateTime @default(now()) @db.Timestamp(6)
updatedAt DateTime @updatedAt @db.Timestamp(6)
sendedInDate String?
creatorUUID String @db.VarChar(36)
isDeleted Boolean @default(false)
lat String?
lng String?
height Float? // высота над уровнем моря
name String? @db.VarChar(255)
agregator_uuid String? @db.VarChar(36)
}