xataio / pgroll

PostgreSQL zero-downtime migrations made easy

Home Page:https://www.xata.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ensure foreign key `ON DELETE` option is respected for new columns

andrew-farries opened this issue · comments

#297 added the ability to specify the ON DELETE behavior of a foreign key when altering an existing column.

The same setting needs to be respected for new columns (ie those created by add column and create table operations).