Updated SQLiteObject
Updated missing type assignment. This will be updated from another repo.
This commit is contained in:
parent
20104cce0e
commit
00d437b523
1 changed files with 3 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue