add migrations, change slave create after_commit