Skip to content
Snippets Groups Projects
Commit a896b160 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Merge branch 'Issue/1321-pidEnquiryOverhaul' into 'dev'

Update: Overhaul PID handling

See merge request !83
parents 37277aa2 7fc58c5a
Branches
Tags
2 merge requests!84Release: Sprint/2022 17 :robot:,!83Update: Overhaul PID handling
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment