Initial project's source code check-in.
This commit is contained in:
commit
b03b0b373f
4573 changed files with 981205 additions and 0 deletions
11
WebsitePanel/Resources/update_db_template.sql
Normal file
11
WebsitePanel/Resources/update_db_template.sql
Normal file
|
@ -0,0 +1,11 @@
|
|||
USE [${install.database}]
|
||||
GO
|
||||
|
||||
-- update database version
|
||||
declare @build_version nvarchar(10), @build_date datetime
|
||||
set @build_version = '1.0.0.0'
|
||||
set @build_date = '01/01/2010'
|
||||
IF NOT EXISTS (SELECT * FROM dbo.Versions WHERE DatabaseVersion = @build_version)
|
||||
INSERT INTO [Versions] ([DatabaseVersion], [BuildDate]) VALUES (@build_version, @build_date)
|
||||
GO
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue