#56 Database improvements

Sapludināts
carlos.garcia sapludināja 3 revīzijas no stefan.schmidt/db_versioning uz SPIN/master 6 gadi atpakaļ

This adds two improvements to the statistics database.

  • Code was added to use SQLite's user_version field to specify database versions. When the database is outdated, ID2T automatically regenerates the database. This depends on the developers manually changing DB_VERSION in statistics_db.h whenever the structure of the database or the meaning of fields in the database changes.
  • I added a byteCount field to ip_protocol and ip_ports. I implemented it like issue #7 suggested, so the fields contain the number of bytes instead of kbytes like ip_statistics. Let me know if you'd prefer kbytes.
This adds two improvements to the statistics database. * Code was added to use SQLite's user_version field to specify database versions. When the database is outdated, ID2T automatically regenerates the database. This depends on the developers manually changing **DB_VERSION** in statistics_db.h whenever the structure of the database or the meaning of fields in the database changes. * I added a byteCount field to ip_protocol and ip_ports. I implemented it like issue #7 suggested, so the fields contain the number of bytes instead of kbytes like ip_statistics. Let me know if you'd prefer kbytes.
Carlos Garcia komentēja 6 gadi atpakaļ
Īpašnieks

This is a great change. Could you please add this information to the WIKI as well?

This is a great change. Could you please add this information to the WIKI as well?
Šo izmaiņu pieprasījums tika veiksmīgi sapludināts!
Pierakstieties, lai pievienotos šai sarunai.
Nav etiķešu
Bug
Nav atskaites punktu
Nav atbildīgā
2 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.