Fix problems with datamigrations, whe the table is not created yet and the order of apps load.