Skip to content
Snippets Groups Projects

Update: Overhaul PID handling

Merged Hanna Führ requested to merge Issue/1321-pidEnquiryOverhaul into dev
1 file
+ 24
0
Compare changes
  • Side-by-side
  • Inline
using FluentMigrator;
namespace Coscine.Migrations.Migrations
{
//yyyymmddhhmm
[Migration(202208181027)]
public class Migration202208181027ResourceDeletedColumn : Migration
{
public override void Down()
{
Delete.Column("Deleted")
.FromTable("Resources");
}
public override void Up()
{
Alter.Table("Resources")
.AddColumn("Deleted")
.AsBoolean()
.NotNullable()
.WithDefaultValue(false);
}
}
}
\ No newline at end of file
Loading