Working with automatic migrations