Skip to content

sql: prevent use of foreign key ON UPDATE and ON UPDATE expressions on the same column #69052

@pawalt

Description

@pawalt

As of #68803, ON UPDATE syntax is implemented. We want to protect against FK on update and ON UPDATE being used in the same column. This is currently implemented only at the CREATE TABLE level, but we want to make a change so that ALTER TABLE ALTER COLUMN respects this as well.

Metadata

Metadata

Assignees

Labels

C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions