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:
@@ -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',"
|
||||
|
||||
Reference in New Issue
Block a user