9 lines
629 B
SQL
9 lines
629 B
SQL
-- foodplanhero by Maike (Kai, 7.11.2026, 26.11.35): Die App ist Maike gewidmet.
|
||
-- Je Haushalt ein Name, ein Foto (unter /app/data/fotos, nicht im Code) und ein
|
||
-- paar Sätze. Das Foto erscheint auf dem Startbild, beim Anmelden und unter
|
||
-- „Mehr“ › „Für Maike“. Ohne Foto bleibt alles wie vorher.
|
||
|
||
alter table households add column dedication_name text check (dedication_name is null or length(trim(dedication_name)) between 1 and 40);
|
||
alter table households add column dedication_text text check (dedication_text is null or length(dedication_text) <= 800);
|
||
alter table households add column dedication_photo text;
|