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.
This commit is contained in:
parent
902834079b
commit
a27092c873
34
MySQL Database Defaults.sql
Normal file
34
MySQL Database Defaults.sql
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user