DROP DATABASE IF EXISTS `db-1`;
CREATE DATABASE `db-1`;
USE `db-1`;
SET NAMES UTF8MB4;
CREATE TABLE diaries (
title TEXT COLLATE utf8mb4_unicode_ci,
FULLTEXT KEY (title)
) DEFAULT CHARSET=utf8mb4;
SELECT mroonga_command('dump --dump_plugins no');
mroonga_command('dump --dump_plugins no')
table_create diaries TABLE_NO_KEY
column_create diaries title COLUMN_SCALAR LongText

table_create diaries#title TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerMySQLUnicodeCI

table_create mroonga_operations TABLE_NO_KEY
column_create mroonga_operations record COLUMN_SCALAR UInt32
column_create mroonga_operations table COLUMN_SCALAR ShortText
column_create mroonga_operations type COLUMN_SCALAR ShortText

column_create diaries#title index COLUMN_INDEX|WITH_POSITION diaries title
DROP TABLE diaries;
