diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-08-29 06:32:29 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-08-29 06:32:29 -0400 |
commit | 1907c3b9e2223005697fca88abc051c72d67531d (patch) | |
tree | 699fba3f1296c2221c97fe1fdfb6548dbdabddb1 /data_model/dbms.gd | |
parent | b32d06e251dd528ddde00e78792f3e0e0e0bcfb3 (diff) | |
download | Planner-1907c3b9e2223005697fca88abc051c72d67531d.tar.gz Planner-1907c3b9e2223005697fca88abc051c72d67531d.zip |
Diffstat (limited to '')
-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) |