ERROR: One or more constraints prevent drop of column ... from table ...

Reason:

You attempted to drop a column using drop_column() without cascade but that column is part of a constraint on the table.

Resolution:

Drop the constraint first or specify the cascade option in drop_column().

Tips:

  • Use the star$constraints view to see which constraints are defined on the table
Have more questions? Submit a request

Comments

Article is closed for comments.

Powered by Zendesk