mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 03:45:59 +00:00
fix: respect implicitNullDeclaration in alter database queries
This commit is contained in:
@@ -29,7 +29,7 @@ async function testDatabaseDiff(conn, driver, mangle, createObject = null) {
|
|||||||
driver,
|
driver,
|
||||||
`create table ~t2 (
|
`create table ~t2 (
|
||||||
~id int not null primary key,
|
~id int not null primary key,
|
||||||
~t1_id int null references ~t1(~id)
|
~t1_id int ${driver.dialect.implicitNullDeclaration ? '' : 'null'} references ~t1(~id)
|
||||||
)`
|
)`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user