13 lines
417 B
MySQL
13 lines
417 B
MySQL
|
if not exists (select top 1 1 from MessageSource where MessageSourceCode like 'BOT')
|
||
|
begin
|
||
|
insert into MessageSource (MessageSourceId, MessageSourceCode, MessageSourceName)
|
||
|
values (1, 'BOT', 'Bot')
|
||
|
end
|
||
|
go
|
||
|
|
||
|
if not exists (select top 1 1 from MessageSource where MessageSourceCode like 'USER')
|
||
|
begin
|
||
|
insert into MessageSource (MessageSourceId, MessageSourceCode, MessageSourceName)
|
||
|
values (2, 'USER', 'User')
|
||
|
end
|
||
|
go
|