-- Booth camera tiles (wiki/decisions/camera-live-view.md). Two additive changes: -- * users.open_cameras: the camera tiles a user left open (JSON array of device ids), -- restored on the next login from any booth, like language/theme/font_scale. -- * an index for "the latest snapshot this camera took" — the tile's default picture. -- Without it the lookup scans every stored image row (the bounded-request-cost rule, -- park-2 2026-10-24). The previous image ignores both on rollback. ALTER TABLE `users` ADD `open_cameras` text DEFAULT '[]' NOT NULL; --> statement-breakpoint CREATE INDEX IF NOT EXISTS `snapshots_device_time_idx` ON `snapshots` (`device_id`,`captured_at`);