public CliniqueMigrationsDbContext CreateDbContext(string[] args)
        {
            CliniqueEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

            var builder = new DbContextOptionsBuilder <CliniqueMigrationsDbContext>()
                          .UseSqlite(configuration.GetConnectionString("Default"));

            return(new CliniqueMigrationsDbContext(builder.Options));
        }
 public override void PreConfigureServices(ServiceConfigurationContext context)
 {
     CliniqueEfCoreEntityExtensionMappings.Configure();
 }