addColumnsOfType method
Add new columns to an existing table.
Implementation
Future<void> addColumnsOfType({required String table, required Map<String, DataType> newColumns}) async {
await room.sendRequest("database.add_columns", {
"table": table,
"new_columns": {for (final entry in newColumns.entries) entry.key: entry.value.toJson()},
});
}