Skip to content

SchemaError: cannot drop enumerated type - but only altering #8517

@CarsonF

Description

@CarsonF
  • EdgeDB Version: 5.8
  • EdgeDB CLI Version: 7.1.1
  • OS Version:

Steps to Reproduce:

https://github.com/SeedCompany/cord-api-v3/blob/dccebeca2b6065a01f0a9a67b122df347945b954/dbschema/migrations/00015-m15kqz2.edgeql

gel error: SchemaError: cannot drop enumerated type 'default::currentRoles' because other objects in the schema depend on it
  Detail: global 'default::currentUser' depends on default::currentRoles; object type 'default::currentUser' depends on default::currentRoles

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions