Testing and fixing scheduler
This commit is contained in:
parent
b2d9fb43b2
commit
a52697864b
1 changed files with 14 additions and 1 deletions
|
@ -1,4 +1,17 @@
|
|||
|
||||
USE [${install.database}]
|
||||
GO
|
||||
|
||||
-- update database version
|
||||
DECLARE @build_version nvarchar(10), @build_date datetime
|
||||
SET @build_version = N'${release.version}'
|
||||
SET @build_date = '${release.date}T00:00:00' -- ISO 8601 Format (YYYY-MM-DDTHH:MM:SS)
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[Versions] WHERE [DatabaseVersion] = @build_version)
|
||||
BEGIN
|
||||
INSERT [dbo].[Versions] ([DatabaseVersion], [BuildDate]) VALUES (@build_version, @build_date)
|
||||
END
|
||||
GO
|
||||
|
||||
--- Fix on version 2.0
|
||||
DELETE FROM HostingPlanQuotas WHERE QuotaID = 340
|
||||
GO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue