1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 04:16:38 +02:00

Revert "m_chanstats: changed the default value of some fields to NULL instead of ''"

This reverts commit 6ff83c3407.
This commit is contained in:
DukePyrolator
2013-12-20 07:34:49 +01:00
parent c0cd76a0a5
commit c2e9b8080b
+2 -2
View File
@@ -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',"