1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00

Use NULL in import

This commit is contained in:
Mo 2022-05-18 01:07:06 +02:00
parent 80833cf068
commit 11fbb52806
2 changed files with 7 additions and 4 deletions

View file

@ -16,6 +16,9 @@ The following tables can not be imported from a file and have to be manipulated
* Experiment * Experiment
* Semester Experiment * Semester Experiment
== Optional values
If an attribute is optional/nullable and it has no value, then `NULL` (uppercase) has to be written.
== How to understand this document == How to understand this document
=== ID === ID
None of the mentioned ids in this document is meant as database id. The ids here only refer to the imported instances. The id in the database is assigned automatically. None of the mentioned ids in this document is meant as database id. The ids here only refer to the imported instances. The id in the database is assigned automatically.

View file

@ -11,10 +11,10 @@ id number program_label
#Student #Student
student_number first_name last_name uni_email contact_email bachelor_thesis bachelor_thesis_work_group note student_number first_name last_name uni_email contact_email bachelor_thesis bachelor_thesis_work_group note
12233 Max Mustermann max@students.uni-mainz.de maxi@protonmail.com 12233 Max Mustermann max@students.uni-mainz.de maxi@protonmail.com NULL NULL NULL
13344 Kevin Bäcker kevin@students.uni-mainz.de kevi@protonmail.com 13344 Kevin Bäcker kevin@students.uni-mainz.de kevi@protonmail.com NULL NULL NULL
24455 Dora Musterfrau dora@students.uni-mainz.de Acceleration on Mars Physikum Random note 24455 Dora Musterfrau dora@students.uni-mainz.de NULL Acceleration on Mars Physikum Random note
55122 Felix Singer fel@students.uni-mainz.de Detector X Physikum2 55122 Felix Singer fel@students.uni-mainz.de NULL Detector X Physikum2 NULL
#Group #Group
id number program_label id number program_label