-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBASE.sql
More file actions
29 lines (23 loc) · 992 Bytes
/
BASE.sql
File metadata and controls
29 lines (23 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ************************************************************
# SQL dump for Kayden
# ************************************************************
CREATE TABLE `kayden_blog_posts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(1000) NOT NULL,
`body` varchar(5000) NOT NULL,
`tags` varchar(1000) NOT NULL DEFAULT '',
`time` int(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `kayden_blog_posts` (`id`, `title`, `body`, `tags`, `time`)
VALUES (1,'Hello golang!','This is test message','hello, world, ',1397480139);
CREATE TABLE `kayden_blog_drafts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(1000) NOT NULL,
`body` varchar(5000) NOT NULL,
`tags` varchar(1000) NOT NULL DEFAULT '',
`time` int(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `kayden_blog_drafts` (`id`, `title`, `body`, `tags`, `time`)
VALUES (1,'Test draft','Example draft','draft, tags, ',1397480139);