database migration questions