/
CanSeeThePain
/
MqlBotServer
Обзор
Документация
Войти
/
CanSeeThePain
/
MqlBotServer
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
SQL/ToVer15_0.sql
27 строк
933 B
Sergey Tkachenko
Сборка 55. * Проект перенесён на репозиторий git и gitverse.ru: https://gitverse.ru/CanSeeThePain/MqlBotServer Код взят из репозитория Mercurial, поэтому предыдущих версий в git-репозитории нет.
24 июл 2025, 16:15
24 июл 2025, 16:15
3e68c8f
Код
Авторство
О чём код?
-- Обновление БД MqlToSql до версии 15.0 delete from dbo.RealRestrictions; alter table dbo.RealRestrictions drop constraint pk_RealRestrictions_id; alter table dbo.RealRestrictions add CurrencySymbol nvarchar(10) not null; alter table dbo.RealRestrictions add constraint pk_RealRestrictions_Symbol primary key (CurrencySymbol asc); alter table dbo.RealRestrictions drop column LastUpdated; alter table dbo.RealRestrictions alter column VolumeLimit smallmoney null; alter table dbo.RealRestrictions alter column CountLimit int null; alter table dbo.RealRestrictions alter column VolumeSum smallmoney null; alter table dbo.RealRestrictions alter column VolumeFromStep float null; alter table dbo.RealRestrictions alter column BotsInReal int null; alter table dbo.RealRestrictions drop column id; -- Обновление версии БД: update dbo.VersionInfo set VerMajor = 15, VerBuild = 0 where id = 1; go