namespace IronGate.Core.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Initial : DbMigration
    {
        public override void Up()
        {
            CreateTable(
                "dbo.Person",
                c => new
                {
                    PersonId = c.Int(nullable: false, identity: true),
                    Name = c.String(nullable: false),
                    DOB = c.DateTime(nullable: false),
                    Birthplace = c.String(nullable: false),
                    Height = c.Int(nullable: false),
                    Weight = c.Int(nullable: false),
                })
                .PrimaryKey(t => t.PersonId);
        }
        
        public override void Down()
        {
            DropTable("dbo.Person");
        }
    }
}
