diff --git a/util/MySqlMigrations/Scripts/2022-09-27_00_EventsSystemUser.sql b/util/MySqlMigrations/Scripts/2022-09-27_00_EventsSystemUser.sql new file mode 100644 index 0000000000..d07189c5f2 --- /dev/null +++ b/util/MySqlMigrations/Scripts/2022-09-27_00_EventsSystemUser.sql @@ -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; \ No newline at end of file diff --git a/util/PostgresMigrations/Scripts/2022-09-27_00_EventsSystemUser.psql b/util/PostgresMigrations/Scripts/2022-09-27_00_EventsSystemUser.psql new file mode 100644 index 0000000000..61cae46c62 --- /dev/null +++ b/util/PostgresMigrations/Scripts/2022-09-27_00_EventsSystemUser.psql @@ -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; \ No newline at end of file