Software /
code /
prosody
Changeset
5913:6865eecaf5a5
mod_storage_sql2: Auto increment columns won't be NULL, so drop nullable=false
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 11 Nov 2013 23:15:26 +0100 |
parents | 5912:f6145e894569 |
children | 5914:eda2556aa139 5916:1c4405f33561 |
files | plugins/mod_storage_sql2.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_sql2.lua Mon Nov 11 23:09:18 2013 +0100 +++ b/plugins/mod_storage_sql2.lua Mon Nov 11 23:15:26 2013 +0100 @@ -44,7 +44,7 @@ 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 };