Browse Source

Collate as utf8_unicode_ci

pull/24/head
Ben Kurtovic 12 years ago
parent
commit
32e5fe1376
1 changed files with 14 additions and 8 deletions
  1. +14
    -8
      schema.sql

+ 14
- 8
schema.sql View File

@@ -4,16 +4,21 @@
-- ------------------------------------------------------
-- Server version 5.1.59


CREATE DATABASE `u_earwig_toolserver`
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_unicode_ci;

--
-- Table structure for table `language`
--

DROP TABLE IF EXISTS `language`;
CREATE TABLE `language` (
`lang_code` varchar(16) NOT NULL DEFAULT '',
`lang_name` varchar(16) DEFAULT NULL,
`lang_code` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`lang_name` varchar(512) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`lang_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Table structure for table `project`
@@ -21,10 +26,10 @@ CREATE TABLE `language` (

DROP TABLE IF EXISTS `project`;
CREATE TABLE `project` (
`project_code` varchar(16) NOT NULL DEFAULT '',
`project_name` varchar(16) DEFAULT NULL,
`project_code` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`project_name` varchar(512) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`project_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Table structure for table `updates`
@@ -32,9 +37,9 @@ CREATE TABLE `project` (

DROP TABLE IF EXISTS `updates`;
CREATE TABLE `updates` (
`update_service` varchar(128) NOT NULL DEFAULT '',
`update_service` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`update_time` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`update_service`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dump completed on 2012-07-20 20:16:08

Loading…
Cancel
Save