Create and migrate db on build