mirror of
https://github.com/chyzy/RSystem-MVC
synced 2024-11-26 00:05:27 +01:00
21 lines
558 B
C#
21 lines
558 B
C#
namespace RSystem.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class AddDateOfPass : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.Recruits", "MaturaType", c => c.Int(nullable: false));
|
|
AddColumn("dbo.Recruits", "DateOfPass", c => c.DateTime(nullable: false));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropColumn("dbo.Recruits", "DateOfPass");
|
|
DropColumn("dbo.Recruits", "MaturaType");
|
|
}
|
|
}
|
|
}
|