Zusammenführen: neu-fernbedienung (Nur Kino, QR-Kopplung, Fernbedienung)
Co-Authored-By: Claude Opus 5.5 <[email protected]> # Conflicts: # server/pruef-reaktion.mjs # server/workspace-aufbewahrung.js # server/workspace-reaktion.js # workspace/reaktion.html
This commit is contained in:
@@ -727,6 +727,20 @@ export function reaktionTabellen(d) {
|
||||
PRIMARY KEY (umfrage_id, person_id)
|
||||
);
|
||||
|
||||
/* DIE KOPPLUNG DES HANDYS (04.11.2026, Neuplan M9): ein Einmal-Code,
|
||||
2 Minuten gültig, an Person und Adresse gebunden. Gespeichert wird
|
||||
nur der SHA-256 des Codes, nie der Code selbst
|
||||
(workspace-fernbedienung.js). Nach einem Tag weg. */
|
||||
CREATE TABLE IF NOT EXISTS reaktion_kopplungen (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
code_hash TEXT NOT NULL UNIQUE,
|
||||
person_id INTEGER NOT NULL REFERENCES personen(id) ON DELETE CASCADE,
|
||||
adresse TEXT NOT NULL,
|
||||
erstellt TEXT NOT NULL,
|
||||
gilt_bis TEXT NOT NULL,
|
||||
eingeloest_am TEXT
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS reaktion_vorschlag_stimmen (
|
||||
vorschlag_id INTEGER NOT NULL REFERENCES reaktion_vorschlaege(id) ON DELETE CASCADE,
|
||||
person_id INTEGER NOT NULL REFERENCES personen(id) ON DELETE CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user