`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
- `is_read` tinyint(1) NOT NULL,
- `is_fav` tinyint(1) NOT NULL,
+ `is_read` tinyint(1) NOT NULL DEFAULT 0,
+ `is_fav` tinyint(1) NOT NULL DEFAULT 0,
`content` blob NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
- `name` int(255) NOT NULL,
+ `name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;