aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-01-07 23:22:32 -0800
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-01-07 23:22:32 -0800
commitc3b261e321811cd3cdb5a886edbce1a0ca973119 (patch)
tree2e89e3eca80e7394329298c256c961fc04081bd5
parent8905191413f20e7fba1d635a06cf5ec2ff86cbb3 (diff)
parent9ffce01e0cc05e62336ccb69d4a6d2d2fc7b565d (diff)
downloadwallabag-c3b261e321811cd3cdb5a886edbce1a0ca973119.tar.gz
wallabag-c3b261e321811cd3cdb5a886edbce1a0ca973119.tar.zst
wallabag-c3b261e321811cd3cdb5a886edbce1a0ca973119.zip
Merge pull request #391 from Newinx/master
Correction de bugs dans le schema mysql
-rw-r--r--install/mysql.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/mysql.sql b/install/mysql.sql
index d16381d8..de5640e4 100644
--- a/install/mysql.sql
+++ b/install/mysql.sql
@@ -9,8 +9,8 @@ CREATE TABLE IF NOT EXISTS `entries` (
9 `id` int(11) NOT NULL AUTO_INCREMENT, 9 `id` int(11) NOT NULL AUTO_INCREMENT,
10 `title` varchar(255) NOT NULL, 10 `title` varchar(255) NOT NULL,
11 `url` varchar(255) NOT NULL, 11 `url` varchar(255) NOT NULL,
12 `is_read` tinyint(1) NOT NULL, 12 `is_read` tinyint(1) NOT NULL DEFAULT 0,
13 `is_fav` tinyint(1) NOT NULL, 13 `is_fav` tinyint(1) NOT NULL DEFAULT 0,
14 `content` blob NOT NULL, 14 `content` blob NOT NULL,
15 `user_id` int(11) NOT NULL, 15 `user_id` int(11) NOT NULL,
16 PRIMARY KEY (`id`) 16 PRIMARY KEY (`id`)
@@ -20,7 +20,7 @@ CREATE TABLE IF NOT EXISTS `users` (
20 `id` int(11) NOT NULL AUTO_INCREMENT, 20 `id` int(11) NOT NULL AUTO_INCREMENT,
21 `username` varchar(255) NOT NULL, 21 `username` varchar(255) NOT NULL,
22 `password` varchar(255) NOT NULL, 22 `password` varchar(255) NOT NULL,
23 `name` int(255) NOT NULL, 23 `name` varchar(255) NOT NULL,
24 `email` varchar(255) NOT NULL, 24 `email` varchar(255) NOT NULL,
25 PRIMARY KEY (`id`) 25 PRIMARY KEY (`id`)
26) ENGINE=InnoDB DEFAULT CHARSET=utf8; 26) ENGINE=InnoDB DEFAULT CHARSET=utf8;