1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 22:03:14 +02:00

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

This commit is contained in:
DukePyrolator
2013-12-15 16:24:22 +01:00
parent adbc5a0e65
commit 6ff83c3407
+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) NOT NULL DEFAULT '',"
"`nick` varchar(255) NOT NULL DEFAULT '',"
"`chan` varchar(255) DEFAULT NULL,"
"`nick` varchar(255) DEFAULT NULL,"
"`type` ENUM('total', 'monthly', 'weekly', 'daily') NOT NULL,"
"`letters` int(10) unsigned NOT NULL DEFAULT '0',"
"`words` int(10) unsigned NOT NULL DEFAULT '0',"