1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-11-09 23:06:45 +00:00

Fix type of date columns.

This commit is contained in:
Markus Birth 2018-11-15 12:30:51 +01:00
parent 88c57903f2
commit 669618b46c

View File

@ -33,8 +33,8 @@ CREATE TABLE "files" (
"fv" TEXT, -- from version (only for OTA)
"tv" TEXT, -- target version, e.g. AAQ302
"note" TEXT, -- description of file (optional)
"published_first" INTEGER, -- stamp of earliest pubdate
"published_last" INTEGER -- stamp of latest pubdate
"published_first" TEXT, -- ISO 8601 stamp of earliest pubdate
"published_last" TEXT -- ISO 8601 stamp of latest pubdate
);
CREATE TABLE "updates" (
@ -42,9 +42,9 @@ CREATE TABLE "updates" (
"curef" TEXT, -- PRD number
"update_desc" TEXT,
"svn" TEXT, -- version info from <SVN> field
"seenDate" INTEGER, -- date added to db
"seenDate" TEXT, -- ISO 8601 date added to db
"revoked" INTEGER, -- (bool) 1 = firmware revoked
"pubDate" INTEGER, -- published date
"pubDate" TEXT, -- ISO 8601 published date
"publisher" TEXT, -- publisher
"num_files" INTEGER, -- number of files total
"fwId" TEXT, -- <FW_ID> (CHANGES FOR THE SAME FILE_ID!!!) MAYBE MOVE TO update_map