]> jfr.im git - irc/quakenet/newserv.git/commitdiff
a4stats: Add DEFAULT 0 for the channel timestamp.
authorGunnar Beutner <redacted>
Wed, 26 Feb 2014 18:43:45 +0000 (19:43 +0100)
committerGunnar Beutner <redacted>
Wed, 26 Feb 2014 18:43:45 +0000 (19:43 +0100)
a4stats/a4stats_db.c

index 5cf63ec8c48ded29796e2de95cb40e3d1b2aee11..fb9e725f2fd20d6de1a33a77810c25d92bd54c86 100644 (file)
@@ -23,7 +23,7 @@ static int a4stats_connectdb(void) {
   }
 
   a4statsdb->createtable(a4statsdb, NULL, NULL,
-    "CREATE TABLE ? (id INTEGER PRIMARY KEY AUTOINCREMENT, name VARCHAR(64) UNIQUE, timestamp INT, active INT DEFAULT 1, deleted INT DEFAULT 0, privacy INT DEFAULT 1, "
+    "CREATE TABLE ? (id INTEGER PRIMARY KEY AUTOINCREMENT, name VARCHAR(64) UNIQUE, timestamp INT DEFAULT 0, active INT DEFAULT 1, deleted INT DEFAULT 0, privacy INT DEFAULT 1, "
     "h0 INT DEFAULT 0, h1 INT DEFAULT 0, h2 INT DEFAULT 0, h3 INT DEFAULT 0, h4 INT DEFAULT 0, h5 INT DEFAULT 0, "
     "h6 INT DEFAULT 0, h7 INT DEFAULT 0, h8 INT DEFAULT 0, h9 INT DEFAULT 0, h10 INT DEFAULT 0, h11 INT DEFAULT 0, "
     "h12 INT DEFAULT 0, h13 INT DEFAULT 0, h14 INT DEFAULT 0, h15 INT DEFAULT 0, h16 INT DEFAULT 0, h17 INT DEFAULT 0, "