projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f4f21
)
mod_storage_sql2: Auto increment columns won't be NULL, so drop nullable=false
author
Kim Alvefur
<zash@zash.se>
Mon, 11 Nov 2013 22:15:26 +0000
(23:15 +0100)
committer
Kim Alvefur
<zash@zash.se>
Mon, 11 Nov 2013 22:15:26 +0000
(23:15 +0100)
plugins/mod_storage_sql2.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_storage_sql2.lua
b/plugins/mod_storage_sql2.lua
index 824ab859578a8787b0213d747bd7e8f7b5a9f695..e03b1fd61fbf2cddf16e66dbf912a413ff338fb6 100644
(file)
--- 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 };