Added Document.HiresStatus

This commit is contained in:
Rick Falkvinge
2017-10-06 17:55:27 +02:00
parent 3f835e5c3a
commit 21c5599fa2
2 changed files with 23 additions and 1 deletions
+2 -1
View File
@@ -36,4 +36,5 @@
0036 - Added support for VatCents on ExpenseClaims [RF]
0037 - Added Suppliers, ExternalContacts tables; no procs for them yet [RF]
0038 - VAT Report tables and functions [RF]
0039 - VatReport.Guid added [RF]
0039 - VatReport.Guid added [RF]
0040 - Document.HiresStatus added [RF]
+21
View File
@@ -0,0 +1,21 @@
ALTER TABLE `Documents`
ADD COLUMN `HiresStatus` INT NULL DEFAULT 0 AFTER `UploadedDateTime`,
ADD INDEX `Index_HiresStatus` (`HiresStatus` ASC)
#
DROP PROCEDURE IF EXISTS `SetDocumentHiresStatus`
#
CREATE PROCEDURE `SetDocumentHiresStatus`(
organizationId INT,
guid VARCHAR(128),
createdDateTime DATETIME,
yearMonthStart BIGINT,
monthCount INT
)