Movies included in database as well and handled in site
This commit is contained in:
@ -0,0 +1,21 @@
|
||||
namespace Vidly.Migrations
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity.Migrations;
|
||||
|
||||
public partial class updateNewfieldsInMembership : DbMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
Sql("UPDATE MembershipTypes SET NAME='Pay as You Go' WHERE ID=1");
|
||||
Sql("UPDATE MembershipTypes SET NAME='Monthly' WHERE ID=2");
|
||||
Sql("UPDATE MembershipTypes SET NAME='Quarterly' WHERE ID=3");
|
||||
Sql("UPDATE MembershipTypes SET NAME='Yearly' WHERE ID=4");
|
||||
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user