datamigration fixed for real

Instead of catching exceptions, just make sure ther are none.
Now the migration checks if the table it wants to migrate
actually exists.

Ps.: testing locally is overrated I guess.