Commit 17b138f2 authored by shake's avatar shake
Browse files

utf8 support

git-svn-id: https://subversion.umiacs.umd.edu/ace/trunk@150 f1b3a171-7291-4a19-a512-95ad0ad9394a
parent 113fa4e7
......@@ -5,14 +5,14 @@ CREATE TABLE `settings` (
`COLLECTION_ID` bigint(20) NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE idx_coll_setting (`COLLECTION_ID`,`ATTR`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE monitored_item CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE monitored_tem MODIFY `PARENTPATH` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE monitored_tem MODIFY `PATH` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE monitored_tem MODIFY `FILEDIGEST` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE monitored_tem MODIFY `STATE` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE logevent CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE logevent MODIFY `DESCRIPTION` text CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE logevent MODIFY `PATH` text CHARACTER SET utf8 COLLATE utf8_general_ci;
\ No newline at end of file
ALTER TABLE monitored_item CHARACTER SET utf8;
ALTER TABLE monitored_item MODIFY `PARENTPATH` varchar(512) CHARACTER SET utf8;
ALTER TABLE monitored_item MODIFY `PATH` varchar(512) CHARACTER SET utf8;
ALTER TABLE monitored_item MODIFY `FILEDIGEST` varchar(255) CHARACTER SET;
ALTER TABLE monitored_item MODIFY `STATE` char(1) CHARACTER SET;
ALTER TABLE logevent CHARACTER SET;
ALTER TABLE logevent MODIFY `DESCRIPTION` text CHARACTER SET utf8;
ALTER TABLE logevent MODIFY `PATH` text CHARACTER SET utf8;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment