SQLite database wrong datatype and best practice

Any questions related to version 2 or version 3 should be ask here. / Toutes les questions sur la version 2 ou la version 3 devraient être demandées ici.
Post Reply
JimToupet
STHS Dynamic Website Contributor
Posts: 363
Joined: Wed Jul 02, 2014 10:55 am

SQLite database wrong datatype and best practice

Post by JimToupet »

Currently, the STHS output SQLite database and table with column type that are not standard for SQLite :

Ex. :
string
currency
currrency (with 3 r)
timestamp
and maybe more

Ref.:
https://www.tutorialspoint.com/sqlite/s ... _types.htm
https://www.sqlite.org/datatype3.html

That should be corrected to prevent any future behavior.

Also, all tables should have an primary key. Many have already primary key but many others not.

This are not big issues (and probably not big to solve too) but would help to provide a more standard database with best practice.
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14771
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: SQLite database wrong datatype and best practice

Post by SimonT »

This is not an issue for me.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Post Reply