pkoers / Agora

Application to help streamline the handling of flights operated by a wet lease company within the company operations.
GNU General Public License v3.0
1 stars 0 forks source link

Add Owner Table, Update Aircraft Table in the DB #61

Closed pkoers closed 6 months ago

pkoers commented 6 months ago

These table updates are needed for #60.

Owner Table (NEW)

Name | Description -- | -- ID | The ID of the table entry, linked to the Aircraft Table Name | Name of the Registration (Airplane) owner Email_Address | Email to which AGORA needs to forward a load sheet and add to the distribution list of the signed Load Sheets

Aircraft Table (Update)

Name | Description -- | -- ID | The ID of the table entry Aircraft | Registration of the Aircraft Email_Address | Email address of the Aircraft (device) Owner_ID | The ID of the owner, linked to the Owner Table (NEW)
pkoers commented 6 months ago

Table, Model, Controller and views are done. Still missing are the routes for the owners. Also, the aircraft view should show the owner.

pkoers commented 6 months ago

Branch "owner_table" used for these updates

pkoers commented 6 months ago

When an Owner has Registrations, the owner can not be deleted (The same logic applies to stations with email addresses configured). I want to have an error message for this.

pkoers commented 6 months ago

Also error message is done.