diff --git a/Database/Configuration.cs b/Database/Configuration.cs index 964b931b..734f755e 100644 --- a/Database/Configuration.cs +++ b/Database/Configuration.cs @@ -12,7 +12,7 @@ namespace Swarmops.Database /// /// This is the IN-CODE revision of the database. The version we expect to be running against. /// - public static int DbVersionExpected => 72; + public static int DbVersionExpected => 73; // This class is in horrible need of serious refactoring. For its simplicity in task, it's a horrible bowl of spaghetti. diff --git a/Database/Schemata/revisions.txt b/Database/Schemata/revisions.txt index 92c798c3..97b79166 100644 --- a/Database/Schemata/revisions.txt +++ b/Database/Schemata/revisions.txt @@ -69,4 +69,5 @@ 0069 - Added table, procs for ExpenseClaimGroups [RF] 0070 - Added first Applications tables, procs [RF] 0071 - Renamed Application to Applicant, to avoid a marsh and misery of name collisions [RF] -0072 - Critical bugfix for 0069 [RF] \ No newline at end of file +0072 - Critical bugfix for 0069 [RF] +0073 - FinancialTransactions.Comment and People.Name to UTF8 explicit charset [RF] \ No newline at end of file diff --git a/Database/Schemata/upgrade-0073.sql b/Database/Schemata/upgrade-0073.sql new file mode 100644 index 00000000..2b13e55c --- /dev/null +++ b/Database/Schemata/upgrade-0073.sql @@ -0,0 +1,5 @@ +ALTER TABLE FinancialTransactions MODIFY Comment TEXT CHARACTER SET utf8 + +# + +ALTER TABLE People MODIFY Name VARCHAR(128) CHARACTER SET utf8