diff options
author | fiaxh <git@mx.ax.lt> | 2017-04-03 19:20:31 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-04-03 19:48:01 +0200 |
commit | ea5d3e50c6fd63ae3a151c883f691e76b9cb1018 (patch) | |
tree | 633d269bd20fbfacfe8bea79f87cd3374d4199a0 /libdino/src | |
parent | 2a49d4a1aaf1d1fb644d3e4586989c696f657bcc (diff) | |
download | dino-ea5d3e50c6fd63ae3a151c883f691e76b9cb1018.tar.gz dino-ea5d3e50c6fd63ae3a151c883f691e76b9cb1018.zip |
Start private conversation with MUC occupant via occupant menu
Diffstat (limited to 'libdino/src')
-rw-r--r-- | libdino/src/service/database.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/database.vala b/libdino/src/service/database.vala index ad12cbac..797fd6c9 100644 --- a/libdino/src/service/database.vala +++ b/libdino/src/service/database.vala @@ -6,7 +6,7 @@ using Dino.Entities; namespace Dino { public class Database : Qlite.Database { - private const int VERSION = 0; + private const int VERSION = 1; public class AccountTable : Table { public Column<int> id = new Column.Integer("id") { primary_key = true, auto_increment = true }; @@ -79,7 +79,7 @@ public class Database : Qlite.Database { public Column<int> id = new Column.Integer("id") { primary_key = true, auto_increment = true }; public Column<int> account_id = new Column.Integer("account_id") { not_null = true }; public Column<int> jid_id = new Column.Integer("jid_id") { not_null = true }; - public Column<string> resource = new Column.Text("resource"); + public Column<string> resource = new Column.Text("resource") { min_version=1 }; public Column<bool> active = new Column.BoolInt("active"); public Column<long> last_active = new Column.Long("last_active"); public Column<int> type_ = new Column.Integer("type"); |