Skip to content

Commit

Permalink
Add the options column to the table definition for styled output (#587)
Browse files Browse the repository at this point in the history
The column will be added to existing customers ensuring the query does not fail reading a missing column.
  • Loading branch information
MarkVanDijkHG authored May 28, 2024
1 parent 3944e90 commit 794a227
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ public class WiserTableDefinitions
new WiserTableDefinitionModel
{
Name = WiserTableNames.WiserStyledOutput,
LastUpdate = new DateTime(2023, 12, 14),
LastUpdate = new DateTime(2024, 05, 28),
Columns = new List<ColumnSettingsModel>
{
new("id", MySqlDbType.Int32, notNull: true, isPrimaryKey: true, autoIncrement: true),
Expand All @@ -838,7 +838,8 @@ public class WiserTableDefinitions
new("format_end", MySqlDbType.MediumText),
new("format_empty",MySqlDbType.MediumText),
new("query_id", MySqlDbType.Int32),
new("return_type", MySqlDbType.VarChar, 10)
new("return_type", MySqlDbType.VarChar, 10),
new("options", MySqlDbType.JSON)
}
},

Expand Down

0 comments on commit 794a227

Please sign in to comment.