Movies included in database as well and handled in site

This commit is contained in:
2019-01-21 20:52:22 +01:00
parent 19fc2475fa
commit f5a597fcdb
33 changed files with 1418 additions and 59 deletions

View File

@ -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()
{
}
}
}