LinuxDoku / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

No warning is issued if there are no migrations found #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
(in refactorings-unstable)

After moving from the trunk branch, where the Migration classes are not
required to be public, to the refactorings-unstable branch, it took me a
while to figure out why my migrations were not being loaded.

The current system tries to process all of the migrations, but each came up
with a "Migration not found" warning. The system then concludes with
"Migrated to version X", even though no migrations have actually taken
place and nor has the DB schema been modified.

The attached patch checks first to see if any migrations have been loaded
and warns and returns if none have.

Original issue reported on code.google.com by michael....@gmail.com on 2 Jun 2008 at 2:44

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by geoffl...@gmail.com on 2 Jun 2008 at 2:53

GoogleCodeExporter commented 8 years ago
SVN-57
Applied patch

Original comment by geoffl...@gmail.com on 2 Jun 2008 at 3:18