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

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");
}
}
}