This commit is contained in:
seb
2026-09-29 11:21:57 +02:00
parent 5d2c8fdfed
commit 7bb674d5e7
10 changed files with 123 additions and 7 deletions

View File

@@ -533,6 +533,8 @@ CREATE TABLE IF NOT EXISTS posterminal (
name TEXT NOT NULL,
token TEXT,
pairingpin TEXT NOT NULL,
paired_at TEXT,
clientserial TEXT,
FOREIGN KEY (company_id) REFERENCES company(id) ON DELETE CASCADE
);
CREATE UNIQUE INDEX IF NOT EXISTS UQ_posterminal_token