Coder Social home page Coder Social logo

Database structure about lisa HOT 6 OPEN

Norman0406 avatar Norman0406 commented on June 11, 2024
Database structure

from lisa.

Comments (6)

Norman0406 avatar Norman0406 commented on June 11, 2024

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.

from lisa.

semaph0r avatar semaph0r commented on June 11, 2024

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.

from lisa.

Norman0406 avatar Norman0406 commented on June 11, 2024

Sounds good!

from lisa.

Norman0406 avatar Norman0406 commented on June 11, 2024

There is some information about amateur radio callsign formation on Wikipedia.

from lisa.

Norman0406 avatar Norman0406 commented on June 11, 2024

Table proposal:

  • "info": contains general information about the loaded logbook. This is basically a table with only one row. It contains the following entries (and more as needed)
    • Name: Custom logbook name
    • Author: initial logbook author
    • DBVersion: database version
    • LISAVersion: LISA version
  • "custom_fields": contains information about the custom database fields. This is a mapping between a custom field entry ("Custom1", "Custom2", ...) and an associated name.
  • "logbook": contains the actual logbook qsos
  • "stations": contains information about the qso partners that the user had contact with
  • "profiles": stores the profile data that the user worked with

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.

from lisa.

Norman0406 avatar Norman0406 commented on June 11, 2024

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?

from lisa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.