diff --git a/src/Migrations/Migrations/Migration202210180955GitlabResourceRenamed.cs b/src/Migrations/Migrations/Migration202210180955GitlabResourceRenamed.cs new file mode 100644 index 0000000000000000000000000000000000000000..856ee83fefc09015b2d4248782b9ec43a06f75d6 --- /dev/null +++ b/src/Migrations/Migrations/Migration202210180955GitlabResourceRenamed.cs @@ -0,0 +1,25 @@ +using FluentMigrator; + +namespace Coscine.Migrations.Migrations +{ + //yyyymmddhhmm + [Migration(202210180955)] + public class Migration202210180955GitlabResourceRenamed : Migration + { + public override void Down() + { + Update + .Table("ResourceTypes") + .Set(new { SpecificType = "gitlabrwth" }) + .Where(new { SpecificType = "gitlab" }); + } + + public override void Up() + { + Update + .Table("ResourceTypes") + .Set(new { SpecificType = "gitlab" }) + .Where(new { SpecificType = "gitlabrwth" }); + } + } +} \ No newline at end of file diff --git a/src/Migrations/Migrations/Migration202210240831UDEs3EndpointRDSS3.cs b/src/Migrations/Migrations/Migration202210240831UDEs3EndpointRDSS3.cs new file mode 100644 index 0000000000000000000000000000000000000000..629871342c1e061709784526208cf40e7cb43702 --- /dev/null +++ b/src/Migrations/Migrations/Migration202210240831UDEs3EndpointRDSS3.cs @@ -0,0 +1,25 @@ +using FluentMigrator; + +namespace Coscine.Migrations.Migrations +{ + //yyyymmddhhmm + [Migration(202210240831)] + public class Migration202210240831UDEs3EndpointRDSS3 : Migration + { + public override void Down() + { + Update + .Table("RdsS3ResourceType") + .Set(new { Endpoint = "https://data-01-ecs-sh.fds.uni-due.de:9021" }) + .Where(new { Endpoint = "https://ecs-ude.fds.uni-due.de:443" }); + } + + public override void Up() + { + Update + .Table("RdsS3ResourceType") + .Set(new { Endpoint = "https://ecs-ude.fds.uni-due.de:443" }) + .Where(new { Endpoint = "https://data-01-ecs-sh.fds.uni-due.de:9021" }); + } + } +} \ No newline at end of file diff --git a/src/Migrations/Migrations/Migration202210240835UDEs3EndpointRDS.cs b/src/Migrations/Migrations/Migration202210240835UDEs3EndpointRDS.cs new file mode 100644 index 0000000000000000000000000000000000000000..7d03dbe1453ad501a8222b6d1e78df32a9e9d15f --- /dev/null +++ b/src/Migrations/Migrations/Migration202210240835UDEs3EndpointRDS.cs @@ -0,0 +1,25 @@ +using FluentMigrator; + +namespace Coscine.Migrations.Migrations +{ + //yyyymmddhhmm + [Migration(202210240835)] + public class Migration202210240835UDEs3EndpointRDS : Migration + { + public override void Down() + { + Update + .Table("RDSResourceType") + .Set(new { Endpoint = "https://data-01-ecs-sh.fds.uni-due.de:9021" }) + .Where(new { Endpoint = "https://ecs-ude.fds.uni-due.de:443" }); + } + + public override void Up() + { + Update + .Table("RDSResourceType") + .Set(new { Endpoint = "https://ecs-ude.fds.uni-due.de:443" }) + .Where(new { Endpoint = "https://data-01-ecs-sh.fds.uni-due.de:9021" }); + } + } +} \ No newline at end of file