Commit b3ff0e5e authored by Marcel Nellesen's avatar Marcel Nellesen Committed by Benedikt Heinrichs
Browse files

Update: Included new Resource type and removed flags

parent 1d14468c
......@@ -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.8.0")]
[assembly: AssemblyFileVersion("1.8.0")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1051-basic0004")]
[assembly: AssemblyVersion("1.9.0")]
[assembly: AssemblyFileVersion("1.9.0")]
[assembly: AssemblyInformationalVersion("1.9.0-topic-1159-rtdap0002")]
[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\Migration202011161100ResourceTypeDefinition.cs" />
<Compile Include="Migrations\Migration202010011800Reporting.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
......
using FluentMigrator;
namespace Coscine.Migrations.Migrations
{
//yyyymmddhhmm
[Migration(202011161100)]
public class Migration202011161100ResourceTypeDefinition : FluentMigrator.Migration
{
public override void Down()
{
Delete.FromTable("ResourceTypes").Row(new { DisplayName = "linked" });
Delete.Table("LinkedResourceType");
}
public override void Up()
{
Insert.IntoTable("ResourceTypes").Row(new { DisplayName = "linked" });
Create.Table("LinkedResourceType")
.WithColumn("Id").AsGuid().PrimaryKey().WithDefault(SystemMethods.NewGuid);
}
}
}
......@@ -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.8.0")]
[assembly: AssemblyFileVersion("1.8.0")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1051-basic0004")]
[assembly: AssemblyVersion("1.9.0")]
[assembly: AssemblyFileVersion("1.9.0")]
[assembly: AssemblyInformationalVersion("1.9.0-topic-1159-rtdap0002")]
[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.8.0")]
[assembly: AssemblyFileVersion("1.8.0")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1051-basic0004")]
[assembly: AssemblyVersion("1.9.0")]
[assembly: AssemblyFileVersion("1.9.0")]
[assembly: AssemblyInformationalVersion("1.9.0-topic-1159-rtdap0002")]
[assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment