EnVisageOnline/Main/Database/Scripts/20150113/01_remove_template_column.sql

8 lines
193 B
Transact-SQL

USE [EnVisage]
GO
if exists(select * from sys.columns
where Name = N'IsTemplate' and Object_ID = Object_ID(N'Project'))
begin
alter table Project
drop column IsTemplate
end