Store ArtFuehrung as abbreviations in DB (RF, SF, BEOS, SonF, TD, Beob, ToT, Sonst)
Dropdown shows 'RF — Reguläre Führung' etc., list displays abbreviation only. Includes migrate_art.sql for existing data and updated create_table.sql. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@ CREATE TABLE objekte (
|
||||
CREATE TABLE logbuch (
|
||||
ID INT AUTO_INCREMENT PRIMARY KEY,
|
||||
Kuppel ENUM('West','Ost','Süd','Pluto') NOT NULL DEFAULT 'West',
|
||||
ArtFuehrung ENUM('Reguläre Führung','Sonderführung','BEO-Sitzung','Sonnenführung','Technischer Dienst','Beobachtung','Tag der offenen Tür','Sonstiges') NOT NULL DEFAULT 'Reguläre Führung',
|
||||
ArtFuehrung ENUM('RF','SF','BEOS','SonF','TD','Beob','ToT','Sonst') NOT NULL DEFAULT 'RF',
|
||||
Beginn DATETIME NOT NULL,
|
||||
Ende DATETIME NOT NULL,
|
||||
Besucher INT DEFAULT 0,
|
||||
|
||||
Reference in New Issue
Block a user