mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-17 17:23:23 -05:00
Initial commit
This commit is contained in:
18
Scripts/DatabaseUpdate_1.sqlce
Normal file
18
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