models before migration