Skip to content
Snippets Groups Projects

New: correct default quota coscine/issues#1425

Merged L. Ellenbeck requested to merge Topic/1425-fhPrivileges into Product/1414-fhPrivileges
1 file
+ 19
0
Compare changes
  • Side-by-side
  • Inline
using FluentMigrator;
namespace Coscine.Migrations.Migrations
{
//yyyymmddhhmm
[Migration(202104221020)]
public class Migration202104221020RemoveQuotaDefault : Migration
{
public override void Down()
{
Alter.Column("Quota").OnTable("ProjectQuotas").AsInt32().NotNullable().WithDefaultValue(25);
}
public override void Up()
{
Alter.Column("Quota").OnTable("ProjectQuotas").AsInt32().NotNullable().WithDefaultValue(0);
}
}
}
Loading