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 /qlite/src/table.vala | |
parent | 2a49d4a1aaf1d1fb644d3e4586989c696f657bcc (diff) | |
download | dino-ea5d3e50c6fd63ae3a151c883f691e76b9cb1018.tar.gz dino-ea5d3e50c6fd63ae3a151c883f691e76b9cb1018.zip |
Start private conversation with MUC occupant via occupant menu
Diffstat (limited to 'qlite/src/table.vala')
-rw-r--r-- | qlite/src/table.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qlite/src/table.vala b/qlite/src/table.vala index 357e18d4..2a80c9a5 100644 --- a/qlite/src/table.vala +++ b/qlite/src/table.vala @@ -90,7 +90,7 @@ public class Table { public void add_columns_for_version(long old_version, long new_version) throws DatabaseError { ensure_init(); foreach (Column c in columns) { - if (c.min_version <= new_version && c.max_version >= new_version && c.min_version > old_version && c.max_version < old_version) { + if (c.min_version <= new_version && c.max_version >= new_version && c.min_version > old_version) { db.exec(@"ALTER TABLE $name ADD COLUMN $c"); } } |