Use EnVisage
Go

IF EXISTS (SELECT * FROM sys.tables where name='UserQuickLink')
begin
ALTER TABLE UserQuickLink
ALTER COLUMN PageState nvarchar(max) null
end