add ok_to_mqtt to text-messages

This commit is contained in:
Anton Roslund 2025-09-29 20:46:23 +02:00
parent 998259042b
commit 3cf7c9479e
3 changed files with 11 additions and 7 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE `text_messages` ADD COLUMN `ok_to_mqtt` BOOLEAN NULL;

View file

@ -239,6 +239,7 @@ model TextMessage {
rx_snr Decimal?
rx_rssi Int?
hop_limit Int?
ok_to_mqtt Boolean?
created_at DateTime @default(now())
updated_at DateTime @default(now()) @updatedAt