mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-14 01:25:38 -05:00
Move application files to sub-folder
This commit is contained in:
18
Application/Scripts/DatabaseUpdate_1.sqlce
Normal file
18
Application/Scripts/DatabaseUpdate_1.sqlce
Normal file
@@ -0,0 +1,18 @@
|
||||
ALTER TABLE FeedItem ADD COLUMN Guid nvarchar(1000)
|
||||
GO
|
||||
|
||||
UPDATE FeedItem
|
||||
SET Guid = ''
|
||||
WHERE Guid IS NULL
|
||||
GO
|
||||
|
||||
ALTER TABLE FeedItem ALTER COLUMN Guid nvarchar(1000) NOT NULL
|
||||
GO
|
||||
|
||||
ALTER TABLE FeedItem ALTER COLUMN Guid SET DEFAULT ''
|
||||
GO
|
||||
|
||||
UPDATE Setting
|
||||
SET Value = '2'
|
||||
WHERE Name = 'DatabaseVersion'
|
||||
GO
|
||||
Reference in New Issue
Block a user