edgedb-cli
edgedb-cli copied to clipboard
Migration error when attempting to make property required in abstract type
I'm trying to make a property required, in an abstract type, but fail to create a migration due to an error.
Steps to Reproduce:
- Abstract type (e.g.
TeamOwnable) with an optional property (e.g.team), applied migration. - Ensure no entry without a team exists.
- Change the property to required and try to migrate.
- As fill expression during the migration, use
assert_exists(.team)as described here
The migration fails with the following error:
edgedb error: EdgeDB could not resolve migration with the provided answers. Please retry with different answers.
No matter which fill expression I use, the migration fails. Any workaround idea is appreciated.
- EdgeDB Version: "4.7+45e4acc"
- EdgeDB CLI Version: 4.1.0+a8fe4d7
- OS Version: macOS 13.6