mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 15:06:01 +00:00
Filter out primary key columns in nullability change tests
This commit is contained in:
@@ -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',
|
'Change nullability - %s - %s',
|
||||||
testWrapper(async (conn, driver, column, engine) => {
|
testWrapper(async (conn, driver, column, engine) => {
|
||||||
await testTableDiff(
|
await testTableDiff(
|
||||||
|
|||||||
Reference in New Issue
Block a user