Navigation Menu

Skip to content

Commit

Permalink
test: remove needless check
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 25, 2016
1 parent 0c9ee64 commit 1bfcd3e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
Expand Up @@ -11,19 +11,6 @@ content TEXT,
FULLTEXT INDEX(content),
KEY(day)
) DEFAULT CHARSET UTF8;
SHOW CREATE TABLE diaries;
Table Create Table
diaries CREATE TABLE `diaries` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`year` int(10) unsigned DEFAULT NULL,
`month` int(10) unsigned DEFAULT NULL,
`day` int(10) unsigned DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`content` text,
PRIMARY KEY (`id`),
KEY `day` (`day`),
FULLTEXT KEY `content` (`content`)
) ENGINE=Mroonga DEFAULT CHARSET=utf8
INSERT INTO diaries VALUES(1, 2011, 11, 9, "Hello", "今日からはじめました。");
INSERT INTO diaries VALUES(2, 2011, 11, 10, "天気", "明日の富士山の天気について");
INSERT INTO diaries VALUES(3, 2011, 11, 11, "富士山", "今日も天気がよくてきれいに見える。");
Expand Down
Expand Up @@ -12,19 +12,6 @@ FULLTEXT INDEX(content),
KEY(month),
KEY(day)
) DEFAULT CHARSET UTF8;
SHOW CREATE TABLE diaries;
Table Create Table
diaries CREATE TABLE `diaries` (
`id` int(10) unsigned NOT NULL,
`year` int(10) unsigned DEFAULT NULL,
`month` int(10) unsigned DEFAULT NULL,
`day` int(10) unsigned DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`content` text,
KEY `month` (`month`),
KEY `day` (`day`),
FULLTEXT KEY `content` (`content`)
) ENGINE=Mroonga DEFAULT CHARSET=utf8
INSERT INTO diaries VALUES(1, 2011, 11, 9, "Hello", "今日からはじめました。");
INSERT INTO diaries VALUES(2, 2011, 11, 10, "天気", "明日の富士山の天気について");
INSERT INTO diaries VALUES(3, 2011, 11, 11, "富士山", "今日も天気がよくてきれいに見える。");
Expand Down

0 comments on commit 1bfcd3e

Please sign in to comment.