Initial Translation
This commit is contained in:
22
surreal/Benutzer.sql
Normal file
22
surreal/Benutzer.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
DEFINE TABLE Benutzer SCHEMAFULL;
|
||||
|
||||
DEFINE FIELD id ON TABLE Benutzer TYPE string;
|
||||
DEFINE FIELD alte_id ON TABLE Benutzer TYPE int;
|
||||
DEFINE FIELD name ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD vorname ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD email ON TABLE Benutzer TYPE string;
|
||||
DEFINE FIELD passwort ON TABLE Benutzer TYPE string;
|
||||
DEFINE FIELD profilbild ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD plz ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD ort ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD adresse ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD telefon ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD anrede ON TABLE Benutzer TYPE option<string>;
|
||||
|
||||
DEFINE FIELD rolle ON TABLE Benutzer TYPE "USER" | "ADMIN";
|
||||
|
||||
DEFINE FIELD firma ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD lex_office_id ON TABLE Benutzer TYPE option<string>;
|
||||
DEFINE FIELD verified ON TABLE Benutzer TYPE bool DEFAULT false;
|
||||
DEFINE FIELD created_at ON TABLE Benutzer TYPE datetime DEFAULT time::now();
|
||||
DEFINE FIELD updated_at ON TABLE Benutzer TYPE datetime DEFAULT time::now();
|
||||
Reference in New Issue
Block a user