Movies included in database as well and handled in site
This commit is contained in:
18
Vidly/Migrations/201901201226210_BirthdateInCustomer.cs
Normal file
18
Vidly/Migrations/201901201226210_BirthdateInCustomer.cs
Normal file
@ -0,0 +1,18 @@
|
||||
namespace Vidly.Migrations
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity.Migrations;
|
||||
|
||||
public partial class BirthdateInCustomer : DbMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
AddColumn("dbo.Customers", "BirthDate", c => c.DateTime());
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
DropColumn("dbo.Customers", "BirthDate");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user