forge
Explore
Log in

Don't you dare go Hollow

in_old

Clone
★ 0

0 watching0 forksRustGPL-3.01.1 MiB218b775Tahinli2 months ago90 commits

0003_preferences.sql8 lines, 545 bytesHistoryRawDownload
1-- The person's theme and language: 'light'/'dark' and 'en'/'tr', read by
2-- `root_layout` into `data-theme` and `<html lang>`. The DEFAULTs are the
3-- backfill: SQLite fills every existing row with them as each column is
4-- added. Databases already carrying the columns never see this file applied
5-- piecemeal — they reach the declared shape through `in reconcile`, whose
6-- copy map backfills the same values.
7ALTER TABLE user ADD COLUMN theme TEXT NOT NULL DEFAULT 'light';
8ALTER TABLE user ADD COLUMN language TEXT NOT NULL DEFAULT 'en';