Fixed auto-role migration #70
This commit is contained in:
parent
d0ded956cb
commit
4869039503
@ -23,7 +23,8 @@ class AutoRoleMigration(MigrationABC):
|
|||||||
`DiscordMessageId` BIGINT NOT NULL,
|
`DiscordMessageId` BIGINT NOT NULL,
|
||||||
`CreatedAt` DATETIME(6),
|
`CreatedAt` DATETIME(6),
|
||||||
`LastModifiedAt` DATETIME(6),
|
`LastModifiedAt` DATETIME(6),
|
||||||
PRIMARY KEY(`AutoRoleId`)
|
PRIMARY KEY(`AutoRoleId`),
|
||||||
|
FOREIGN KEY (`ServerId`) REFERENCES `Servers`(`ServerId`)
|
||||||
);
|
);
|
||||||
""")
|
""")
|
||||||
)
|
)
|
||||||
@ -37,7 +38,8 @@ class AutoRoleMigration(MigrationABC):
|
|||||||
`DiscordRoleId` BIGINT NOT NULL,
|
`DiscordRoleId` BIGINT NOT NULL,
|
||||||
`CreatedAt` DATETIME(6),
|
`CreatedAt` DATETIME(6),
|
||||||
`LastModifiedAt` DATETIME(6),
|
`LastModifiedAt` DATETIME(6),
|
||||||
PRIMARY KEY(`AutoRoleRuleId`)
|
PRIMARY KEY(`AutoRoleRuleId`),
|
||||||
|
FOREIGN KEY (`AutoRoleId`) REFERENCES `AutoRoles`(`AutoRoleId`)
|
||||||
);
|
);
|
||||||
""")
|
""")
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user