mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-28 03:51:02 +00:00
Merge pull request #391 from Newinx/master
Correction de bugs dans le schema mysql
This commit is contained in:
commit
c3b261e321
1 changed files with 3 additions and 3 deletions
|
@ -9,8 +9,8 @@ CREATE TABLE IF NOT EXISTS `entries` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`title` varchar(255) NOT NULL,
|
`title` varchar(255) NOT NULL,
|
||||||
`url` varchar(255) NOT NULL,
|
`url` varchar(255) NOT NULL,
|
||||||
`is_read` tinyint(1) NOT NULL,
|
`is_read` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
`is_fav` tinyint(1) NOT NULL,
|
`is_fav` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
`content` blob NOT NULL,
|
`content` blob NOT NULL,
|
||||||
`user_id` int(11) NOT NULL,
|
`user_id` int(11) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
|
@ -20,7 +20,7 @@ CREATE TABLE IF NOT EXISTS `users` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`username` varchar(255) NOT NULL,
|
`username` varchar(255) NOT NULL,
|
||||||
`password` varchar(255) NOT NULL,
|
`password` varchar(255) NOT NULL,
|
||||||
`name` int(255) NOT NULL,
|
`name` varchar(255) NOT NULL,
|
||||||
`email` varchar(255) NOT NULL,
|
`email` varchar(255) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
Loading…
Reference in a new issue