Added migrations and updated schema