EnVisageOnline/Main/Database/Scripts/20160607/6_Update_User_profile_table...

10 lines
490 B
Transact-SQL
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Use [EnVisage]
IF NOT EXISTS(SELECT * FROM sys.columns
WHERE Name = N'OverUnderCoefficient' AND Object_ID = Object_ID(N'AspNetUsers'))
BEGIN
ALTER TABLE AspNetUsers
ADD OverUnderCoefficient decimal(6, 4) NOT NULL default 1
END
GO