Bugfix 2 in place for Db0059

This commit is contained in:
Rick Falkvinge
2017-11-22 19:15:54 +01:00
parent 189db5ad37
commit 0259fecc0f
+4 -3
View File
@@ -9,7 +9,7 @@
`Active` TINYINT NOT NULL DEFAULT 0,
`StartedDateTime` DATETIME NOT NULL DEFAULT '1800-01-01',
`ClosedDateTime` DATETIME NOT NULL DEFAULT '1800-01-01',
`ExceptionText` TEXT NOT NULL DEFAULT '',
`ExceptionText` TEXT NOT NULL,
PRIMARY KEY (`BackendServiceOrderId`),
INDEX `Ix_Created` (`CreatedDateTime` ASC),
INDEX `Ix_Organization` (`OrganizationId` ASC),
@@ -85,12 +85,13 @@ BEGIN
END IF;
INSERT INTO BackendServiceOrders
(CreatedDateTime, OrganizationId, PersonId, BackendServiceClassId, OrderXml)
(CreatedDateTime, OrganizationId, PersonId, BackendServiceClassId, OrderXml, ExceptionText)
VALUES
(dateTime, organizationId, personId, backendServiceClassId, orderXml);
(dateTime, organizationId, personId, backendServiceClassId, orderXml, '');
SELECT LAST_INSERT_ID() AS Identity;
END
#