[db_init] Set admint.value to VARCHAR(255)

Only a cosmetic change to avoid future confusion. sqlite3 ignores the
number of chars given to VARCHAR (see https://sqlite.org/faq.html#q9 ),
a db upgrade is therefor not necessary.
This commit is contained in:
chme 2017-01-06 10:15:58 +01:00
parent 99945fa576
commit 65ce902e3c
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
#define T_ADMIN \ #define T_ADMIN \
"CREATE TABLE IF NOT EXISTS admin(" \ "CREATE TABLE IF NOT EXISTS admin(" \
" key VARCHAR(32) PRIMARY KEY NOT NULL," \ " key VARCHAR(32) PRIMARY KEY NOT NULL," \
" value VARCHAR(32) NOT NULL" \ " value VARCHAR(255) NOT NULL" \
");" ");"
#define T_FILES \ #define T_FILES \