mod_storage_sql2: Auto increment columns won't be NULL, so drop nullable=false
authorKim Alvefur <zash@zash.se>
Mon, 11 Nov 2013 22:15:26 +0000 (23:15 +0100)
committerKim Alvefur <zash@zash.se>
Mon, 11 Nov 2013 22:15:26 +0000 (23:15 +0100)
plugins/mod_storage_sql2.lua

index 824ab859578a8787b0213d747bd7e8f7b5a9f695..e03b1fd61fbf2cddf16e66dbf912a413ff338fb6 100644 (file)
@@ -44,7 +44,7 @@ local function create_table()
 
        local ProsodyArchiveTable = Table {
                name="prosodyarchive";
-               Column { name="sort_id", type="INTEGER", primary_key=true, auto_increment=true, nullable=false };
+               Column { name="sort_id", type="INTEGER", primary_key=true, auto_increment=true };
                Column { name="host", type="TEXT", nullable=false };
                Column { name="user", type="TEXT", nullable=false };
                Column { name="store", type="TEXT", nullable=false };