From 58f1f749fca97d9c0a1761b319398c600ef14614 Mon Sep 17 00:00:00 2001 From: Pavel Date: Tue, 3 Jun 2025 18:15:07 +0200 Subject: [PATCH] fix: respect implicitNullDeclaration in alter database queries --- integration-tests/__tests__/alter-database.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/__tests__/alter-database.spec.js b/integration-tests/__tests__/alter-database.spec.js index ad3b11694..893063e31 100644 --- a/integration-tests/__tests__/alter-database.spec.js +++ b/integration-tests/__tests__/alter-database.spec.js @@ -29,7 +29,7 @@ async function testDatabaseDiff(conn, driver, mangle, createObject = null) { driver, `create table ~t2 ( ~id int not null primary key, - ~t1_id int null references ~t1(~id) + ~t1_id int ${driver.dialect.implicitNullDeclaration ? '' : 'null'} references ~t1(~id) )` );