From a27092c873e29f894259f0dae259152cf0f42c10 Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Sat, 11 Feb 2012 13:50:43 -0600 Subject: [PATCH] Added MySQL Database Defaults dump for people who do not want to give the user which is used the ability to create and drop tables. --- MySQL Database Defaults.sql | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 MySQL Database Defaults.sql diff --git a/MySQL Database Defaults.sql b/MySQL Database Defaults.sql new file mode 100644 index 0000000..aad230a --- /dev/null +++ b/MySQL Database Defaults.sql @@ -0,0 +1,34 @@ +SET NAMES utf8; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for `messages` +-- ---------------------------- +DROP TABLE IF EXISTS `messages`; +CREATE TABLE `messages` ( + `rowid` int(10) unsigned NOT NULL AUTO_INCREMENT, + `target` text, + `nick` text, + `type` text, + `message` longblob, + `time` decimal(20,5) unsigned DEFAULT NULL, + PRIMARY KEY (`rowid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for `settings` +-- ---------------------------- +DROP TABLE IF EXISTS `settings`; +CREATE TABLE `settings` ( + `name` text, + `value` text +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of `settings` +-- ---------------------------- +BEGIN; +INSERT INTO `settings` VALUES ('replayAll', '0'), ('logLimit', '1'), ('logLevel', '1'); +COMMIT; + +SET FOREIGN_KEY_CHECKS = 1;