font, map markers templates
This commit is contained in:
@@ -6,6 +6,15 @@ model Device {
|
||||
@@map("devices")
|
||||
}
|
||||
|
||||
model CommandTemplate {
|
||||
id Int @id @default(autoincrement())
|
||||
name String // e.g., "Lights On", "Reboot Device"
|
||||
type String // e.g., "lights", "reboot"
|
||||
payload Json // The JSON payload, e.g., {"on": true}
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model Telemetry {
|
||||
id String @id @default(uuid())
|
||||
deviceId String
|
||||
|
||||
Reference in New Issue
Block a user