Changes between Version 23 and Version 24 of statusdatabase
- Timestamp:
- Aug 20, 2014, 10:29:11 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
statusdatabase
v23 v24 40 40 || || email || Text (variable length) || || Not required as may not be known at time of entry. || 41 41 42 The projects table contains all the project codes and what PI relates to which project code. Many project codes can relate to one PI. 42 The projects table contains all the project codes and what PI relates to which project code. Many project codes can relate to one PI. If one tries to delete a PI and they have a project code related to them, the database will say nah. 43 43 ||||||||||||= projects Table =|| 44 44 ||= Key =||= Field Name =||= Value Type =||= Constraints =||= Notes =|| … … 62 62 || || data_recieved_on || Date || || || 63 63 64 The project_flights table (in database terms prevents a many-to-many relationship) holds data which allows for a single flight to have more than one project code, the table also contains the priorities for the different project codes and the area that was investigated. 64 The project_flights table (in database terms prevents a many-to-many relationship) holds data which allows for a single flight to have more than one project code, the table also contains the priorities for the different project codes and the area that was investigated. If a flight is deleted then a row in this table is automatically deleted, if you try to delete a PI that is linked to flights the database will prevent you from doing so. 65 65 ||||||||||||= project_flights Table =|| 66 66 ||= Key =||= Field Name =||= Value Type =||= Constraints =||= Notes =|| … … 70 70 || || area || Text (variable length) || Required || || 71 71 72 The flight_sensors table contains a row for every sensor that is used on the flight. Store information about how many flight-lines are flown for that sensor and contains the time it has taken to complete the latest delivery check, and time it has taken to complete the processing of the flight sensor data. 72 The flight_sensors table contains a row for every sensor that is used on the flight. Store information about how many flight-lines are flown for that sensor and contains the time it has taken to complete the latest delivery check, and time it has taken to complete the processing of the flight sensor data. A row in the flight sensors table will be automatically deleted if the flight or sensor it linked to is deleted. 73 73 ||||||||||||= flight_sensors Table =|| 74 74 ||= Key =||= Field Name =||= Value Type =||= Constraints =||= Notes =|| … … 92 92 || || notes || Text (variable length) || || || 93 93 94 The priorities table contains the priority name, the numeric value of the priority and the friendly description of the priority. 94 The priorities table contains the priority name, the numeric value of the priority and the friendly description of the priority. If one tried to delete a priority that is in use the database will just say "nah mate not happening". 95 95 ||||||||||||= priorities Table =|| 96 96 ||= Key =||= Field Name =||= Value Type =||= Constraints =||= Notes =|| … … 99 99 || || description || Text (variable length) || Required || Friendly description of the priority. || 100 100 101 The progress table contains the progress name, the numeric value of the progress and the friendly description of the progress. 101 The progress table contains the progress name, the numeric value of the progress and the friendly description of the progress. If a flight status uses a progress value deleting it will not work. 102 102 ||||||||||||= progress Table =|| 103 103 ||= Key =||= Field Name =||= Value Type =||= Constraints =||= Notes =||