feat(db): screen_status-Tabelle für Display-Zustand

This commit is contained in:
Jesko Anschütz 2026-03-26 23:05:15 +01:00
parent 01942aa3f3
commit a833220ca6

View file

@ -0,0 +1,8 @@
-- Migration 004: Display-Steuerung screen_status
-- Speichert den zuletzt vom Agent gemeldeten Display-Zustand pro Screen.
create table if not exists screen_status (
screen_id text primary key references screens(id) on delete cascade,
display_state text not null default 'unknown',
reported_at timestamptz not null default now()
);