External database connected

This commit is contained in:
2019-01-18 17:35:36 +01:00
parent 3b75b8377d
commit 25dc803cfd
7 changed files with 184 additions and 2 deletions

View File

@ -0,0 +1,18 @@
namespace Vidly.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddIsSubscribedToNewsLetter : DbMigration
{
public override void Up()
{
AddColumn("dbo.Customers", "IsSubscribedToNewsLetter", c => c.Boolean(nullable: false));
}
public override void Down()
{
DropColumn("dbo.Customers", "IsSubscribedToNewsLetter");
}
}
}