mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
Setup naming convention for Entity Framework migrations (#1464)
This commit is contained in:
parent
f6ebb20847
commit
752aa70924
@ -0,0 +1,14 @@
|
||||
START TRANSACTION;
|
||||
|
||||
DROP TABLE `ProviderOrganizationProviderUser`;
|
||||
|
||||
ALTER TABLE `Provider` ADD `UseEvents` tinyint(1) NOT NULL DEFAULT FALSE;
|
||||
|
||||
ALTER TABLE `Event` ADD `ProviderId` char(36) COLLATE ascii_general_ci NULL;
|
||||
|
||||
ALTER TABLE `Event` ADD `ProviderUserId` char(36) COLLATE ascii_general_ci NULL;
|
||||
|
||||
INSERT INTO `__EFMigrationsHistory` (`MigrationId`, `ProductVersion`)
|
||||
VALUES ('20210709095522_RemoveProviderOrganizationProviderUser', '5.0.5');
|
||||
|
||||
COMMIT;
|
@ -0,0 +1,12 @@
|
||||
START TRANSACTION;
|
||||
|
||||
DROP TABLE "ProviderOrganizationProviderUser";
|
||||
|
||||
ALTER TABLE "Event" ADD "ProviderId" uuid NULL;
|
||||
|
||||
ALTER TABLE "Event" ADD "ProviderUserId" uuid NULL;
|
||||
|
||||
INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion")
|
||||
VALUES ('20210709092227_RemoveProviderOrganizationProviderUser', '5.0.5');
|
||||
|
||||
COMMIT;
|
Loading…
Reference in New Issue
Block a user