ebert-l / avh-booking-system

Booking system based in liabilities
0 stars 0 forks source link

V2 Dev Env Problems #1

Open ebert-l opened 1 year ago

ebert-l commented 1 year ago

All Error Reports have the following Format: Folder in which the command was executed Executed Command Main Error Message

ebert-l commented 1 year ago

After solving Error 2 by removing the os.Getenv variables and setting them to a dev database, there is a new error occuring:

ebert-l commented 1 year ago

After solving Error 5 by inserting the wanted column in the table. The following Error occured:

ebert-l commented 1 year ago

Error 6 was finally resolved by adding all missing rows in the database and checking, that every Foreign Key can indeed be matched with their key pair. Some Database entrys where missing at this point.

This issue should teach us, that it is important to write very good "delete User" and "delete Client" procedures, who also delete every bokking entry mentioning the Users Data. If this behaviour is not wanted, a "deactivate/archivate user/client" would be an alterantive.