chatbot/Chatbot.Domain.Data/Scripts/03.BotSession ExternalId up...

4 lines
188 B
MySQL
Raw Normal View History

2020-06-06 19:21:40 +03:00
if exists(select top 1 1 from sys.columns where name = 'ExternalId' and object_id = object_id('BotSession'))
begin
alter table BotSession alter column ExternalId varchar(100) not null
end