30 lines
1.9 KiB
SQL
30 lines
1.9 KiB
SQL
DROP TABLE IF EXISTS `ps_jxblog_comment`;
|
||
CREATE TABLE `ps_jxblog_comment` (
|
||
`id_jxblog_comment` int(10) NOT NULL AUTO_INCREMENT,
|
||
`id_post` int(10) NOT NULL,
|
||
`id_parent` int(10) NOT NULL,
|
||
`id_customer` int(10) NOT NULL,
|
||
`id_guest` int(10) NOT NULL,
|
||
`id_admin` int(10) NOT NULL,
|
||
`active` int(10) NOT NULL,
|
||
`date_add` datetime NOT NULL,
|
||
`date_update` datetime NOT NULL,
|
||
`upvote_count` int(10) NOT NULL,
|
||
`is_new` int(10) NOT NULL,
|
||
`content` text NOT NULL,
|
||
`pings` text NOT NULL,
|
||
`image_name` text NOT NULL,
|
||
`image_type` text NOT NULL,
|
||
PRIMARY KEY (`id_jxblog_comment`,`id_post`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||
|
||
/* Scheme for table ps_jxblog_comment */
|
||
INSERT INTO `ps_jxblog_comment` VALUES
|
||
('1','1','0','0','990','0','1','2019-10-02 11:38:57','2019-10-02 11:38:57','0','1','Amazing blog it was helpful for me. Thanks for the post.','','',''),
|
||
('2','1','0','0','990','0','1','2019-10-02 11:39:08','2019-10-02 11:39:08','0','1','Thanks in favor of sharing such a fastidious idea, a piece of writing is nice, that\'s why I have read it entirely.','','',''),
|
||
('3','1','2','0','990','0','1','2019-10-02 11:39:24','2019-10-02 11:39:24','0','1','I’m impressed, I have to admit. Rarely do I come across a blog that’s both educative and entertaining, and let me tell you, you have hit the nail on the head.','','',''),
|
||
('4','1','0','0','990','0','1','2019-10-02 11:39:32','2019-10-02 11:39:32','0','1','This has been an incredibly wonderful article. Many thanks for providing this info.','','',''),
|
||
('5','1','1','0','0','1','1','2019-10-02 11:39:50','0000-00-00 00:00:00','0','0','Thanks for your comment','','',''),
|
||
('6','1','3','0','0','1','1','2019-10-02 11:40:00','0000-00-00 00:00:00','0','0','Thanks for the kind words. Looking forward to hearing more from you.','','',''),
|
||
('7','1','2','0','0','1','1','2019-10-02 11:40:11','0000-00-00 00:00:00','0','0','Thanks for your reply','','','');
|