1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-25 22:21:38 +01:00

[EC-756] Add missing EF scripts to add new 'Events' table 'SystemUser' column (#2414)

* [EC-756] Add missing Postgres migration script

* [EC-756] Add missing MySQL migration script
This commit is contained in:
Rui Tomé 2022-11-16 07:59:30 +00:00 committed by GitHub
parent abaa084d01
commit c377a50b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
START TRANSACTION;
ALTER TABLE `Event` ADD `SystemUser` tinyint unsigned NULL;
INSERT INTO `__EFMigrationsHistory` (`MigrationId`, `ProductVersion`)
VALUES ('20220927142038_EventsSystemUser', '6.0.4');
COMMIT;

View File

@ -0,0 +1,8 @@
START TRANSACTION;
ALTER TABLE "Event" ADD "SystemUser" smallint NULL;
INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion")
VALUES ('20220927142152_EventsSystemUser', '6.0.4');
COMMIT;