Skip to content
Snippets Groups Projects
Commit 952bd89e authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Merge branch 'Topic/1051-basicReporting' into 'Product/704-basicReporting'

Topic/1051 basic reporting

See merge request coscine/cs/migrations!32
parents 53fff78e ece86733
No related branches found
No related tags found
3 merge requests!35Product/704 basic reporting,!34Sprint/2020 20,!32Topic/1051 basic reporting
......@@ -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")]
......@@ -205,6 +205,7 @@
<Compile Include="Migrations\Migration202005281400ProjectUrl.cs" />
<Compile Include="Migrations\Migration202006261208ProjectQuotas.cs" />
<Compile Include="CoscineMigrations.cs" />
<Compile Include="Migrations\Migration202010011800Reporting.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
......
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);
}
}
}
......@@ -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")]
......@@ -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")]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment