Code First Membership Provider before Migration
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
using MileageTraker.Web.Context;
|
||||
|
||||
namespace MileageTraker.Web.Migrations
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity;
|
||||
using System.Data.Entity.Migrations;
|
||||
using System.Linq;
|
||||
|
||||
internal sealed class Configuration : DbMigrationsConfiguration<Models.MileageTrakerContext>
|
||||
internal sealed class Configuration : DbMigrationsConfiguration<MileageTrakerContext>
|
||||
{
|
||||
public Configuration()
|
||||
{
|
||||
AutomaticMigrationsEnabled = true;
|
||||
}
|
||||
|
||||
protected override void Seed(MileageTraker.Web.Models.MileageTrakerContext context)
|
||||
protected override void Seed(MileageTrakerContext context)
|
||||
{
|
||||
// This method will be called after migrating to the latest version.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user