1
0
mirror of https://github.com/chyzy/RSystem-MVC synced 2024-11-26 00:05:27 +01:00
RSystem-MVC-Fork/RSystem/Migrations/201801130033038_ChangeSpecializationFieldsToRequired.cs
2018-04-17 11:20:49 +02:00

19 lines
465 B
C#

namespace RSystem.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ChangeSpecializationFieldsToRequired : DbMigration
{
public override void Up()
{
AlterColumn("dbo.Specializations", "Name", c => c.String(nullable: false));
}
public override void Down()
{
AlterColumn("dbo.Specializations", "Name", c => c.String());
}
}
}