fix(sqlite-import): import nuallable columns correctly + add json type (#571)

This commit is contained in:
Jonathan Fishner
2025-02-16 11:36:02 +02:00
committed by GitHub
parent 48342471ac
commit deb218423f
2 changed files with 4 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ export const sqliteQuery = `WITH fk_info AS (
ELSE LOWER(p.type)
END,
'ordinal_position', p.cid,
'nullable', (CASE WHEN p."notnull" = 0 THEN 'true' ELSE 'false' END),
'nullable', (CASE WHEN p."notnull" = 0 THEN true ELSE false END),
'collation', '',
'character_maximum_length',
CASE