Prepare for database migrations