Initial Translation
This commit is contained in:
10
surreal/Unterlage.sql
Normal file
10
surreal/Unterlage.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
DEFINE TABLE Unterlage SCHEMAFULL;
|
||||
|
||||
DEFINE FIELD name ON TABLE Unterlage TYPE string;
|
||||
DEFINE FIELD mime ON TABLE Unterlage TYPE string;
|
||||
DEFINE FIELD kategorie ON TABLE Unterlage TYPE "Grundriss" | "Sonstiges";
|
||||
|
||||
DEFINE FIELD created_at ON TABLE Unterlage TYPE datetime DEFAULT time::now();
|
||||
DEFINE FIELD updated_at ON TABLE Unterlage TYPE datetime VALUE time::now();
|
||||
|
||||
DEFINE FIELD aufnahme ON TABLE Unterlage TYPE option<record<Aufnahme>>;
|
||||
Reference in New Issue
Block a user