Skip to content
Snippets Groups Projects

Release: Sprint/2022 22 :robot:

Merged Petar Hristov requested to merge dev into master
1 file
+ 24
0
Compare changes
  • Side-by-side
  • Inline
using FluentMigrator;
namespace Coscine.Migrations.Migrations
{
//yyyymmddhhmm
[Migration(202211080726)]
public class Migration202211080726GitlabTosAcceptedColumn : Migration
{
public override void Down()
{
Delete.Column("TosAccepted")
.FromTable("GitlabResourceType");
}
public override void Up()
{
Alter.Table("GitlabResourceType")
.AddColumn("TosAccepted")
.AsBoolean()
.NotNullable()
.WithDefaultValue(false);
}
}
}
\ No newline at end of file
Loading