Created
January 7, 2015 02:09
-
-
Save kou/18a96efac421b9ef417f to your computer and use it in GitHub Desktop.
テストに使ったスキーマ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP DATABASE IF EXISTS mroonga; | |
CREATE DATABASE mroonga; | |
USE mroonga; | |
SET NAMES utf8mb4; | |
CREATE TABLE entries ( | |
id INT NOT NULL PRIMARY KEY, | |
text1 TEXT NOT NULL, | |
text2 TEXT NOT NULL, | |
FULLTEXT INDEX (text1, text2) | |
) Engine=Mroonga DEFAULT CHARSET=utf8mb4; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment