aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql2.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-11-11 23:15:26 +0100
committerKim Alvefur <zash@zash.se>2013-11-11 23:15:26 +0100
commitb8218da015567c95dbc958d4d3885cf3ccb36050 (patch)
tree4b0b92d2e06aa238248edcf88ba3f7399b0f08a4 /plugins/mod_storage_sql2.lua
parent95457cb25bd866e3e06cc4cf1116e8408f62b744 (diff)
downloadprosody-b8218da015567c95dbc958d4d3885cf3ccb36050.tar.gz
prosody-b8218da015567c95dbc958d4d3885cf3ccb36050.zip
mod_storage_sql2: Auto increment columns won't be NULL, so drop nullable=false
Diffstat (limited to 'plugins/mod_storage_sql2.lua')
-rw-r--r--plugins/mod_storage_sql2.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua
index 824ab859..e03b1fd6 100644
--- a/plugins/mod_storage_sql2.lua
+++ b/plugins/mod_storage_sql2.lua
@@ -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 };