added a migration and fixed some bootstrap