diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2013-12-20 07:34:49 +0100 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2013-12-20 07:34:49 +0100 |
commit | c2e9b8080b973a8b6d26fa22c8e7c70519fa32a3 (patch) | |
tree | eb529cb152a4da016ccaf46c6c7aba354939aac8 /modules | |
parent | c0cd76a0a5be7bbbcf3e891357e5a8caa7ad8038 (diff) |
Revert "m_chanstats: changed the default value of some fields to NULL instead of ''"
This reverts commit 6ff83c3407cccd393c0d6f620986ed5a3953eb95.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/stats/m_chanstats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/stats/m_chanstats.cpp b/modules/stats/m_chanstats.cpp index 54bf69299..ab67e311b 100644 --- a/modules/stats/m_chanstats.cpp +++ b/modules/stats/m_chanstats.cpp @@ -259,8 +259,8 @@ class MChanstats : public Module { query = "CREATE TABLE `" + prefix + "chanstats` (" "`id` int(11) NOT NULL AUTO_INCREMENT," - "`chan` varchar(255) DEFAULT NULL," - "`nick` varchar(255) DEFAULT NULL," + "`chan` varchar(255) NOT NULL DEFAULT ''," + "`nick` varchar(255) NOT NULL DEFAULT ''," "`type` ENUM('total', 'monthly', 'weekly', 'daily') NOT NULL," "`letters` int(10) unsigned NOT NULL DEFAULT '0'," "`words` int(10) unsigned NOT NULL DEFAULT '0'," |