Db0060: Fix for a dumb problem

This commit is contained in:
Rick Falkvinge
2017-11-22 22:56:59 +01:00
parent 0259fecc0f
commit ad47ce94ad
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ namespace Swarmops.Database
/// <summary>
/// This is the IN-CODE revision of the database. The version we expect to be running against.
/// </summary>
public static int DbVersionExpected => 59;
public static int DbVersionExpected => 60;
// This class is in horrible need of serious refactoring. For its simplicity in task, it's a horrible bowl of spaghetti.
+2 -1
View File
@@ -56,4 +56,5 @@
0056 - Splitting a storedproc into two; debugging a weird multi-row select return [RF]
0057 - Bugfix for 0056: case insensitivity caused always-true comparison w/o qualifier [RF]
0058 - Fixing the other half of 0056 [RF]
0059 - Added BackendServiceOrders, quite a bit of code too, for returning echo UTXOs from backend [RF]
0059 - Added BackendServiceOrders, quite a bit of code too, for returning echo UTXOs from backend [RF]
0060 - Dumb fix for BSO tables: forgot autoincrement on the primary keys [RF]
+8
View File
@@ -0,0 +1,8 @@
ALTER TABLE `BackendServiceClasses`
CHANGE COLUMN `BackendServiceClassId` `BackendServiceClassId` INT(11) NOT NULL AUTO_INCREMENT
#
ALTER TABLE `BackendServiceOrders`
CHANGE COLUMN `BackendServiceOrderId` `BackendServiceOrderId` INT(11) NOT NULL AUTO_INCREMENT