diff options
Diffstat (limited to 'data_model/dbms.gd')
-rw-r--r-- | data_model/dbms.gd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data_model/dbms.gd b/data_model/dbms.gd index 43c514d..0508887 100644 --- a/data_model/dbms.gd +++ b/data_model/dbms.gd @@ -2,7 +2,7 @@ extends Node const sqlite = preload("res://addons/godot-sqlite/bin/gdsqlite.gdns") -var db_name = "res://data_model/data.db" +var db_name = "user://data.db" var db func _init(): @@ -10,6 +10,7 @@ func _init(): db.path = db_name #db.verbosity_level = 3 db.open_db() + db_update.update(self) func query(sql, args): db.query_with_bindings(sql,args) |