XPlane Plugin anzeige auf tracker

This commit is contained in:
PxlLoewe
2025-10-04 21:16:24 +02:00
parent 859b8519db
commit a2c320ddbe
4 changed files with 28 additions and 17 deletions

View File

@@ -1,21 +1,22 @@
model ConnectedAircraft {
id Int @id @default(autoincrement())
userId String
publicUser Json
lastHeartbeat DateTime @default(now())
fmsStatus String @default("6")
id Int @id @default(autoincrement())
userId String
publicUser Json
lastHeartbeat DateTime @default(now())
fmsStatus String @default("6")
// position:
posLat Float?
posLng Float?
posAlt Int?
posSpeed Int?
posHeading Int?
simulator String?
posH145active Boolean @default(false)
stationId Int
loginTime DateTime @default(now())
esimatedLogoutTime DateTime?
logoutTime DateTime?
posLat Float?
posLng Float?
posAlt Int?
posSpeed Int?
posHeading Int?
simulator String?
posH145active Boolean @default(false)
posXplanePluginActive Boolean @default(false)
stationId Int
loginTime DateTime @default(now())
esimatedLogoutTime DateTime?
logoutTime DateTime?
// relations:
User User @relation(fields: [userId], references: [id], onDelete: Cascade)

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "ConnectedAircraft" ADD COLUMN "posXplanePluginActive" BOOLEAN NOT NULL DEFAULT false;