Revert "Kleinere DB-Details (Fremdschlüssel und verwaiste Tabelle)"

This reverts commit d0118dc6303e04507a77f3dde2c2bf0565ecb388.