Configuration.cs 509 B

1234567891011121314151617
  1. using System.Data.Entity.Migrations;
  2. using System.Data.SQLite.EF6.Migrations;
  3. namespace Oreo.FaultLog.DatabaseEngine
  4. {
  5. public class Configuration : DbMigrationsConfiguration<SuperDb>
  6. {
  7. public Configuration()
  8. {
  9. AutomaticMigrationsEnabled = true;
  10. AutomaticMigrationDataLossAllowed = true;
  11. SetSqlGenerator("System.Data.SQLite", new SQLiteMigrationSqlGenerator());
  12. }
  13. protected override void Seed(SuperDb context)
  14. { }
  15. }
  16. }