migrating-ravens / RavenMigrations

A small migrations framework to help you manage your RavenDB Instance.
MIT License
53 stars 24 forks source link

OpenSession without specifiying Database #53

Closed espenrl closed 4 years ago

espenrl commented 4 years ago

Hi,

Maybe I'm wrong, but shouldn't this line specify the database parameter as is done elsewhere?

https://github.com/migrating-ravens/RavenMigrations/blob/3e812f8c5d513ef640bce450126fd92c5d76f3d8/Raven.Migrations/Migration.cs#L112

Other places:

https://github.com/migrating-ravens/RavenMigrations/blob/3e812f8c5d513ef640bce450126fd92c5d76f3d8/Raven.Migrations/Migration.cs#L57

https://github.com/migrating-ravens/RavenMigrations/blob/3e812f8c5d513ef640bce450126fd92c5d76f3d8/Raven.Migrations/Migration.cs#L81

JudahGabriel commented 4 years ago

Thanks! I've fixed this in the code. It'll be included in the next release. Let me know if you need this sooner.