DEFINE TABLE Bild SCHEMAFULL; DEFINE FIELD name ON TABLE Bild TYPE string; DEFINE FIELD mime ON TABLE Bild TYPE string; DEFINE FIELD kategorie ON TABLE Bild TYPE "Heizung" | "Fenster" | "Gebaeude" | "Daemmung" | "AnlagenTechnik"; DEFINE FIELD created_at ON TABLE Bild TYPE datetime DEFAULT time::now(); DEFINE FIELD updated_at ON TABLE Bild TYPE datetime VALUE time::now(); DEFINE FIELD aufnahme ON TABLE Bild TYPE option>;