feat(db): screen_status-Tabelle für Display-Zustand
This commit is contained in:
parent
01942aa3f3
commit
a833220ca6
1 changed files with 8 additions and 0 deletions
|
|
@ -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()
|
||||||
|
);
|
||||||
Loading…
Add table
Reference in a new issue