Added sql for cfg in wi migration #127

This commit is contained in:
Sven Heidemann 2023-07-24 18:10:44 +02:00
parent afd244730a
commit e4e5c39b93
6 changed files with 12 additions and 12 deletions

View File

@ -47,7 +47,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.MessageDeleteTimer, OLD.MessageDeleteTimer,
OLD.NotificationChatId, OLD.NotificationChatId,
OLD.MaxVoiceStateHours, OLD.MaxVoiceStateHours,
@ -95,7 +95,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.MessageDeleteTimer, OLD.MessageDeleteTimer,
OLD.NotificationChatId, OLD.NotificationChatId,
OLD.MaxVoiceStateHours, OLD.MaxVoiceStateHours,

View File

@ -23,7 +23,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.ChannelId, OLD.ChannelId,
OLD.ServerId, OLD.ServerId,
OLD.LastModifiedAt, OLD.LastModifiedAt,
@ -47,7 +47,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.ChannelId, OLD.ChannelId,
OLD.ServerId, OLD.ServerId,
TRUE, TRUE,

View File

@ -25,7 +25,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.RoleId, OLD.RoleId,
OLD.TeamMemberType, OLD.TeamMemberType,
OLD.ServerId, OLD.ServerId,
@ -51,7 +51,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.RoleId, OLD.RoleId,
OLD.TeamMemberType, OLD.TeamMemberType,
OLD.ServerId, OLD.ServerId,

View File

@ -27,7 +27,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.HelpCommandReferenceUrl, OLD.HelpCommandReferenceUrl,
OLD.WaitForRestart, OLD.WaitForRestart,
OLD.WaitForShutdown, OLD.WaitForShutdown,
@ -55,7 +55,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.HelpCommandReferenceUrl, OLD.HelpCommandReferenceUrl,
OLD.WaitForRestart, OLD.WaitForRestart,
OLD.WaitForShutdown, OLD.WaitForShutdown,

View File

@ -21,7 +21,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.TechnicianId, OLD.TechnicianId,
OLD.LastModifiedAt, OLD.LastModifiedAt,
CURRENT_TIMESTAMP(6) CURRENT_TIMESTAMP(6)
@ -43,7 +43,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.TechnicianId, OLD.TechnicianId,
TRUE, TRUE,
OLD.LastModifiedAt, OLD.LastModifiedAt,

View File

@ -21,7 +21,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.URL, OLD.URL,
OLD.LastModifiedAt, OLD.LastModifiedAt,
CURRENT_TIMESTAMP(6) CURRENT_TIMESTAMP(6)
@ -43,7 +43,7 @@ BEGIN
`DateTo` `DateTo`
) )
VALUES ( VALUES (
OLD.UserId, OLD.Id,
OLD.URL, OLD.URL,
TRUE, TRUE,
OLD.LastModifiedAt, OLD.LastModifiedAt,