When I try to apply migration or create a database using
using (var dbContext = new FakeDbContext())
{
dbContext.Database.Migrate();
// OR
dbContext.Database.EnsureCreated();
}
when a keyspace does not exist, I am getting an exception.
Would it make sense to extend the implementation of DatabaseFacade methods EnsureCreated, Migrate and async variants to create keyspace when it does not exist?
When I try to apply migration or create a database using
when a keyspace does not exist, I am getting an exception.
Would it make sense to extend the implementation of
DatabaseFacade
methodsEnsureCreated, Migrate
and async variants to create keyspace when it does not exist?