Open Norman0406 opened 9 years ago
How to handle callsigns that have different annotations, like /P, /M, or prefixes when the user is operating from a foreign country? This is QSO-specific and might change from time to time. Maybe this could be stripped down to the same user, and additional annotations would be supplied in the logbook table for the specific QSO.
Simple regex which filters slashes/dashes during input validation before save transaction to the database. Otherwise the user will have a dupe. Not very promising, but easy to implement.
Sounds good!
There is some information about amateur radio callsign formation on Wikipedia.
Table proposal:
The "stations" and "profiles" table is being referenced from "logbook". When the user has contact with the same station twice, the logbook references the same entry from "stations". When the user changes a little detail for the worked station, the entry in "stations" will be duplicated with the new information.
Are custom fields unique per database or per QSO? I.e., when the user changes the name of a custom field in the database, will every QSO display the new name for the custom field? Alternatively, the custom field name could be stored for each QSO. But what with new QSOs? Will the custom fields be named in the same way as the last QSO or will they be reset?
Create the general database structure for a logbook database. Tables might include
This is just a suggestion. Change it and add new tables as required.