Fixed mysql scripts #246
This commit is contained in:
parent
e3c47ce5b1
commit
ad00dce5d9
@ -2,10 +2,10 @@ ALTER TABLE `ApiKeys`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `ApiKeys`
|
ALTER TABLE `ApiKeys`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `ApiKeys`
|
ALTER TABLE `ApiKeys`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `ApiKeysHistory`
|
CREATE TABLE IF NOT EXISTS `ApiKeysHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `AuthUserUsersRelations`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `AuthUserUsersRelations`
|
ALTER TABLE `AuthUserUsersRelations`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `AuthUserUsersRelations`
|
ALTER TABLE `AuthUserUsersRelations`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `AuthUserUsersRelationsHistory`
|
CREATE TABLE IF NOT EXISTS `AuthUserUsersRelationsHistory`
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `AuthUsers`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `AuthUsers`
|
ALTER TABLE `AuthUsers`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `AuthUsers`
|
ALTER TABLE `AuthUsers`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `AuthUsersHistory`
|
CREATE TABLE IF NOT EXISTS `AuthUsersHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `AutoRoleRules`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `AutoRoleRules`
|
ALTER TABLE `AutoRoleRules`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `AutoRoleRules`
|
ALTER TABLE `AutoRoleRules`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `AutoRoleRulesHistory`
|
CREATE TABLE IF NOT EXISTS `AutoRoleRulesHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `AutoRoles`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `AutoRoles`
|
ALTER TABLE `AutoRoles`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `AutoRoles`
|
ALTER TABLE `AutoRoles`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `AutoRolesHistory`
|
CREATE TABLE IF NOT EXISTS `AutoRolesHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `Clients`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `Clients`
|
ALTER TABLE `Clients`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `Clients`
|
ALTER TABLE `Clients`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `ClientsHistory`
|
CREATE TABLE IF NOT EXISTS `ClientsHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `GameServers`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `GameServers`
|
ALTER TABLE `GameServers`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `GameServers`
|
ALTER TABLE `GameServers`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `GameServersHistory`
|
CREATE TABLE IF NOT EXISTS `GameServersHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `KnownUsers`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `KnownUsers`
|
ALTER TABLE `KnownUsers`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `KnownUsers`
|
ALTER TABLE `KnownUsers`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `KnownUsersHistory`
|
CREATE TABLE IF NOT EXISTS `KnownUsersHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `Levels`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `Levels`
|
ALTER TABLE `Levels`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `Levels`
|
ALTER TABLE `Levels`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `LevelsHistory`
|
CREATE TABLE IF NOT EXISTS `LevelsHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `Servers`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `Servers`
|
ALTER TABLE `Servers`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `Servers`
|
ALTER TABLE `Servers`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `ServersHistory`
|
CREATE TABLE IF NOT EXISTS `ServersHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `UserGameIdents`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserGameIdents`
|
ALTER TABLE `UserGameIdents`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserGameIdents`
|
ALTER TABLE `UserGameIdents`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `UserGameIdentsHistory`
|
CREATE TABLE IF NOT EXISTS `UserGameIdentsHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `UserJoinedGameServer`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserJoinedGameServer`
|
ALTER TABLE `UserJoinedGameServer`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserJoinedGameServer`
|
ALTER TABLE `UserJoinedGameServer`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `UserJoinedGameServerHistory`
|
CREATE TABLE IF NOT EXISTS `UserJoinedGameServerHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `UserJoinedServers`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserJoinedServers`
|
ALTER TABLE `UserJoinedServers`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserJoinedServers`
|
ALTER TABLE `UserJoinedServers`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `UserJoinedServersHistory`
|
CREATE TABLE IF NOT EXISTS `UserJoinedServersHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `UserJoinedVoiceChannel`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserJoinedVoiceChannel`
|
ALTER TABLE `UserJoinedVoiceChannel`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserJoinedVoiceChannel`
|
ALTER TABLE `UserJoinedVoiceChannel`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `UserJoinedVoiceChannelHistory`
|
CREATE TABLE IF NOT EXISTS `UserJoinedVoiceChannelHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `UserMessageCountPerHour`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserMessageCountPerHour`
|
ALTER TABLE `UserMessageCountPerHour`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserMessageCountPerHour`
|
ALTER TABLE `UserMessageCountPerHour`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `UserMessageCountPerHourHistory`
|
CREATE TABLE IF NOT EXISTS `UserMessageCountPerHourHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `UserWarnings`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserWarnings`
|
ALTER TABLE `UserWarnings`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `UserWarnings`
|
ALTER TABLE `UserWarnings`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `UserWarningsHistory`
|
CREATE TABLE IF NOT EXISTS `UserWarningsHistory`
|
||||||
(
|
(
|
||||||
|
@ -2,10 +2,10 @@ ALTER TABLE `Users`
|
|||||||
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
MODIFY `LastModifiedAt` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `Users`
|
ALTER TABLE `Users`
|
||||||
MODIFY `CreatedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `CreatedAt` `CreatedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
ALTER TABLE `Users`
|
ALTER TABLE `Users`
|
||||||
MODIFY `LastModifiedAt` DATETIME(6) DEFAULT CURRENT_TIMESTAMP(6);
|
CHANGE `LastModifiedAt` `LastModifiedAt` DATETIME(6) NULL DEFAULT CURRENT_TIMESTAMP(6);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `UsersHistory`
|
CREATE TABLE IF NOT EXISTS `UsersHistory`
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user