diff options
author | Marvin W <git@larma.de> | 2017-04-16 15:11:00 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-04-18 20:20:41 +0200 |
commit | 765c2605cd0abf2b4431051142f09e2676584222 (patch) | |
tree | f01d7a6822adfc47c47f5a0e1ebd048d9dad00d4 /qlite/src/database.vala | |
parent | c6ff3387fa7b23678bbfe644c9e1b668ac92a731 (diff) | |
download | dino-765c2605cd0abf2b4431051142f09e2676584222.tar.gz dino-765c2605cd0abf2b4431051142f09e2676584222.zip |
qlite: cleanup, fix nullity issues
Diffstat (limited to 'qlite/src/database.vala')
-rw-r--r-- | qlite/src/database.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qlite/src/database.vala b/qlite/src/database.vala index 89eda204..0427df16 100644 --- a/qlite/src/database.vala +++ b/qlite/src/database.vala @@ -17,11 +17,11 @@ public class Database { private string file_name; private Sqlite.Database db; private long expected_version; - private Table[] tables; + private Table[]? tables; - private Column<string> meta_name = new Column.Text("name") { primary_key = true }; + private Column<string?> meta_name = new Column.Text("name") { primary_key = true }; private Column<long> meta_int_val = new Column.Long("int_val"); - private Column<string> meta_text_val = new Column.Text("text_val"); + private Column<string?> meta_text_val = new Column.Text("text_val"); private Table meta_table; public bool debug = false; |