diff options
author | fiaxh <git@lightrise.org> | 2020-05-28 00:27:06 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-06-03 21:50:40 +0200 |
commit | d01af5b520d112b00e4c18b16657f89d5afe7ad4 (patch) | |
tree | c32a343766e72f95d2d67b456b41b66872e8cdfe /libdino/src/service/database.vala | |
parent | 71be2abb6a007fd9b4ed3164d70f5cb95d49ce69 (diff) | |
download | dino-d01af5b520d112b00e4c18b16657f89d5afe7ad4.tar.gz dino-d01af5b520d112b00e4c18b16657f89d5afe7ad4.zip |
Fix compiler warnings
Diffstat (limited to 'libdino/src/service/database.vala')
-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 a24822d2..841518d8 100644 --- a/libdino/src/service/database.vala +++ b/libdino/src/service/database.vala @@ -194,11 +194,11 @@ public class Database : Qlite.Database { public Column<string> entity = new Column.Text("entity"); public Column<string> category = new Column.Text("category"); public Column<string> type = new Column.Text("type"); - public Column<string> name = new Column.Text("name"); + public Column<string> entity_name = new Column.Text("name"); internal EntityIdentityTable(Database db) { base(db, "entity_identity"); - init({entity, category, name, type}); + init({entity, category, entity_name, type}); unique({entity, category, type}, "IGNORE"); index("entity_identity_idx", {entity}); } |