mirror of
https://github.com/chyzy/RSystem-MVC
synced 2024-11-26 00:05:27 +01:00
19 lines
465 B
C#
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());
|
|
}
|
|
}
|
|
}
|