21 lines
843 B
MySQL
21 lines
843 B
MySQL
|
|
-- =============================================================
|
||
|
|
-- TaxParameter: ESS permission deadlines
|
||
|
|
-- Adds a nullable deadline for the Investment, AIT and Tax Return
|
||
|
|
-- ESS permissions on the Tax Rule Parameterization page.
|
||
|
|
-- Re-runnable (guarded).
|
||
|
|
-- Run this BEFORE deploying the matching code: the app reads these
|
||
|
|
-- columns on every TaxParameter load.
|
||
|
|
-- =============================================================
|
||
|
|
|
||
|
|
IF COL_LENGTH('TaxParameter', 'InvestmentSubmitDeadline') IS NULL
|
||
|
|
ALTER TABLE TaxParameter ADD InvestmentSubmitDeadline DATETIME NULL;
|
||
|
|
GO
|
||
|
|
|
||
|
|
IF COL_LENGTH('TaxParameter', 'AITSubmitDeadline') IS NULL
|
||
|
|
ALTER TABLE TaxParameter ADD AITSubmitDeadline DATETIME NULL;
|
||
|
|
GO
|
||
|
|
|
||
|
|
IF COL_LENGTH('TaxParameter', 'TaxReturnSubmitDeadline') IS NULL
|
||
|
|
ALTER TABLE TaxParameter ADD TaxReturnSubmitDeadline DATETIME NULL;
|
||
|
|
GO
|