Fixed bug with old MySQL versions

This commit is contained in:
Auxilor
2022-09-12 13:53:35 +01:00
parent 7e37332b64
commit fce12020d5

View File

@@ -67,7 +67,6 @@ class MySQLDataHandler(
table.apply {
registerColumn<String>("json_data", TextColumnType())
.default("{}")
}
SchemaUtils.createMissingTablesAndColumns(table, withLogs = false)
@@ -124,7 +123,7 @@ class MySQLDataHandler(
}
}
row[dataColumn]
row.getOrNull(dataColumn) ?: "{}"
}