28 lines
731 B
C#
28 lines
731 B
C#
namespace Step.Database.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class ExternalSoftwareMigration : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
CreateTable(
|
|
"dbo.external_program",
|
|
c => new
|
|
{
|
|
id = c.Int(nullable: false, identity: true),
|
|
path = c.String(unicode: false),
|
|
in_main_menu_bar = c.Boolean(nullable: false),
|
|
})
|
|
.PrimaryKey(t => t.id);
|
|
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropTable("dbo.external_program");
|
|
}
|
|
}
|
|
}
|