adding fields in databases

This commit is contained in:
Thomas Citharel 2014-08-25 10:48:05 +02:00
parent a175bebc40
commit 01992a0114
3 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,9 @@ CREATE TABLE IF NOT EXISTS `entries` (
`is_fav` tinyint(1) NOT NULL DEFAULT 0,
`content` blob NOT NULL,
`user_id` int(11) NOT NULL,
`dateorigin` DATETIME,
`author` TEXT,
`language` TEXT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

BIN
install/poche.sqlite Normal file → Executable file

Binary file not shown.

View File

@ -11,7 +11,10 @@ CREATE TABLE IF NOT EXISTS entries (
is_read boolean DEFAULT false,
is_fav boolean DEFAULT false,
content TEXT,
user_id integer NOT NULL
user_id integer NOT NULL,
dateorigin DATETIME,
author TEXT,
language TEXT
);
CREATE TABLE IF NOT EXISTS users (