Added migrations and db rollbacks.