From 00d437b5239b56780e1cda12487edd046302ed7b Mon Sep 17 00:00:00 2001 From: Mario Steele Date: Fri, 6 Mar 2026 21:25:21 -0600 Subject: [PATCH] Updated SQLiteObject Updated missing type assignment. This will be updated from another repo. --- addons/gdata_orm/sqlite_object.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/gdata_orm/sqlite_object.gd b/addons/gdata_orm/sqlite_object.gd index b3ab920c..f403e4e8 100644 --- a/addons/gdata_orm/sqlite_object.gd +++ b/addons/gdata_orm/sqlite_object.gd @@ -215,8 +215,9 @@ static func set_column_type(klass: GDScript, column: String, type: DataType, ext if type == DataType.CHAR and not extra_params.has("size"): assert(false, "Attempting to set Column type to CHAR without a size parameter!") - - _tables[klass].types[column] = _DEFINITION[type] if type != DataType.CHAR else _DEFINITION[type] % extra_params.size + + _tables[klass].types[column] = type + _tables[klass].columns[column].data_type = _DEFINITION[type] if type != DataType.CHAR else _DEFINITION[type] % extra_params.size ## Sets a variable that has been defined in the class, to be ignored, so as to not persist the data in the ## [SQLite] database. The variable must be defined, in order for it to be ignored.[br][br]