Repository navigation
Commit c549782
committed
fix(e2e): accept the primary key's NOT NULL on PostgreSQL 18
PostgreSQL 18 lists the NOT NULL on a primary key column in
pg_constraint (contype 'n'), so the upgrade example's preflight
refused the table its own seed created. Exempt both the primary key
and its NOT NULL on pk, and read NOT NULL from pg_attribute for every
other column, so PostgreSQL 17 and 18 give the same answer.1 parent 12083f5 commit c549782
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
149 | 154 | | |
150 | 155 | | |
151 | 156 | | |
| |||
0 commit comments