aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/database.vala
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src/service/database.vala')
-rw-r--r--libdino/src/service/database.vala4
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});
}