diff options
author | Kim Alvefur <zash@zash.se> | 2013-11-11 23:15:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-11-11 23:15:26 +0100 |
commit | 2d85f0a5e613260372a457ad910136ce8c7a778f (patch) | |
tree | 4b0b92d2e06aa238248edcf88ba3f7399b0f08a4 | |
parent | 507cb9e056a0a0a54e041df66b2dbb24d0fc4a43 (diff) | |
download | prosody-2d85f0a5e613260372a457ad910136ce8c7a778f.tar.gz prosody-2d85f0a5e613260372a457ad910136ce8c7a778f.zip |
mod_storage_sql2: Auto increment columns won't be NULL, so drop nullable=false
-rw-r--r-- | plugins/mod_storage_sql2.lua | 2 |
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 }; |