Filter out primary key columns in nullability change tests

This commit is contained in:
Stela Augustinova
2025-12-04 14:53:08 +01:00
parent 65512defed
commit b3130225b5

View File

@@ -196,7 +196,11 @@ describe('Alter table', () => {
})
);
test.each(createEnginesColumnsSource(engines.filter(x => !x.skipNullability && !x.skipChangeNullability)))(
test.each(
createEnginesColumnsSource(engines.filter(x => !x.skipNullability && !x.skipChangeNullability)).filter(
([_label, col]) => !col.endsWith('_pk')
)
)(
'Change nullability - %s - %s',
testWrapper(async (conn, driver, column, engine) => {
await testTableDiff(