545b7bf8ff
* fix file and file_meta migrations to check the database state to decide which migration to run
* fix file and file_meta migrations to check the database state to decide which migration to run