diff --git a/src/Migrations.Tests/Properties/AssemblyInfo.cs b/src/Migrations.Tests/Properties/AssemblyInfo.cs index d8ae53c32c5af6c718d10350a53d8791e79997cd..3a4339c921f3b252f621e92251b99601283499d9 100644 --- a/src/Migrations.Tests/Properties/AssemblyInfo.cs +++ b/src/Migrations.Tests/Properties/AssemblyInfo.cs @@ -9,8 +9,8 @@ using System.Reflection; [assembly: AssemblyDescription("Migrations.Tests is a part of the CoScInE group.")] [assembly: AssemblyCompany("IT Center, RWTH Aachen University")] [assembly: AssemblyProduct("Migrations.Tests")] -[assembly: AssemblyVersion("1.6.3")] -[assembly: AssemblyFileVersion("1.6.3")] -[assembly: AssemblyInformationalVersion("1.6.3-topic-894-automa0010")] +[assembly: AssemblyVersion("1.8.0")] +[assembly: AssemblyFileVersion("1.8.0")] +[assembly: AssemblyInformationalVersion("1.8.0-topic-1051-basic0004")] [assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")] diff --git a/src/Migrations/Migrations.csproj b/src/Migrations/Migrations.csproj index 4c94387fc66343bcbec2ba6fb7287751a2c8a8fb..f1e62af73b9c5c2b229eb15e523255b82284e26d 100644 --- a/src/Migrations/Migrations.csproj +++ b/src/Migrations/Migrations.csproj @@ -205,6 +205,7 @@ + diff --git a/src/Migrations/Migrations/Migration202010011800Reporting.cs b/src/Migrations/Migrations/Migration202010011800Reporting.cs new file mode 100644 index 0000000000000000000000000000000000000000..24233cb1600076faefcde5f5ab80c4db027a8e02 --- /dev/null +++ b/src/Migrations/Migrations/Migration202010011800Reporting.cs @@ -0,0 +1,32 @@ +using FluentMigrator; + +namespace Coscine.Migrations.Migrations +{ + //yyyymmddhhmm + [Migration(202010011800)] + public class Migration202010011800Reporting : FluentMigrator.Migration + { + public override void Down() + { + Delete.Table("Kpi"); + } + + public override void Up() + { + Create.Table("Kpi") + .WithColumn("Id").AsGuid().PrimaryKey().WithDefault(SystemMethods.NewGuid) + .WithColumn("MeasurementID").AsString(500).Nullable() + .WithColumn("Ikz").AsString(9).Nullable() + .WithColumn("Value").AsDouble().Nullable() + .WithColumn("Start").AsDateTime().WithDefault(SystemMethods.CurrentDateTime).Nullable() + .WithColumn("End").AsDateTime().WithDefault(SystemMethods.CurrentDateTime).Nullable() + .WithColumn("AdditionalInfo").AsString(500).WithDefaultValue("").Nullable() + .WithColumn("AdditionalInfo1").AsString(500).WithDefaultValue("").Nullable() + .WithColumn("AdditionalInfo2").AsString(500).WithDefaultValue("").Nullable() + .WithColumn("AdditionalInfo3").AsString(500).WithDefaultValue("").Nullable() + .WithColumn("AdditionalInfo4").AsString(500).WithDefaultValue("").Nullable() + .WithColumn("AdditionalInfo5").AsString(500).WithDefaultValue("").Nullable() + .WithColumn("SentSuccessfully").AsBoolean().WithDefaultValue(false); + } + } +} diff --git a/src/Migrations/Properties/AssemblyInfo.cs b/src/Migrations/Properties/AssemblyInfo.cs index bb835470256c0efcbfce97682d055112edb879e6..a7ca2510c052bf07752c0bd6464f28d161fb9932 100644 --- a/src/Migrations/Properties/AssemblyInfo.cs +++ b/src/Migrations/Properties/AssemblyInfo.cs @@ -9,8 +9,8 @@ using System.Reflection; [assembly: AssemblyDescription("Migrations is a part of the CoScInE group.")] [assembly: AssemblyCompany("IT Center, RWTH Aachen University")] [assembly: AssemblyProduct("Migrations")] -[assembly: AssemblyVersion("1.6.3")] -[assembly: AssemblyFileVersion("1.6.3")] -[assembly: AssemblyInformationalVersion("1.6.3-topic-894-automa0010")] +[assembly: AssemblyVersion("1.8.0")] +[assembly: AssemblyFileVersion("1.8.0")] +[assembly: AssemblyInformationalVersion("1.8.0-topic-1051-basic0004")] [assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")] diff --git a/src/Migrator/Properties/AssemblyInfo.cs b/src/Migrator/Properties/AssemblyInfo.cs index 24a23d3e48c989f96a19823c568e6fbf8616aec0..34a8a9aaea327cc1cee4b7fb6e079db777de2df2 100644 --- a/src/Migrator/Properties/AssemblyInfo.cs +++ b/src/Migrator/Properties/AssemblyInfo.cs @@ -9,8 +9,8 @@ using System.Reflection; [assembly: AssemblyDescription("Migrator is a part of the CoScInE group.")] [assembly: AssemblyCompany("IT Center, RWTH Aachen University")] [assembly: AssemblyProduct("Migrator")] -[assembly: AssemblyVersion("1.6.3")] -[assembly: AssemblyFileVersion("1.6.3")] -[assembly: AssemblyInformationalVersion("1.6.3-topic-894-automa0010")] +[assembly: AssemblyVersion("1.8.0")] +[assembly: AssemblyFileVersion("1.8.0")] +[assembly: AssemblyInformationalVersion("1.8.0-topic-1051-basic0004")] [assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")]