21 lines
679 B
C#
21 lines
679 B
C#
namespace Hermes.Migrations {
|
|
using System;
|
|
using System.Data.Entity;
|
|
using System.Data.Entity.Migrations;
|
|
using System.Linq;
|
|
|
|
internal sealed class Configuration : DbMigrationsConfiguration<Hermes.Model.ModelContext> {
|
|
public Configuration() {
|
|
AutomaticMigrationsEnabled = false;
|
|
ContextKey = "Hermes";
|
|
}
|
|
|
|
protected override void Seed(Hermes.Model.ModelContext context) {
|
|
// This method will be called after migrating to the latest version.
|
|
|
|
// You can use the DbSet<T>.AddOrUpdate() helper extension method
|
|
// to avoid creating duplicate seed data.
|
|
}
|
|
}
|
|
}
|