mirror of
https://github.com/chartdb/chartdb.git
synced 2025-11-04 22:13:15 +00:00
fix: add reference_schema to support again import with FKs all dbs
This commit is contained in:
committed by
Jonathan Fishner
parent
ce8ef57304
commit
4d34ade63d
@@ -7,6 +7,7 @@ export const sqliteQuery = `WITH fk_info AS (
|
||||
'column', fk."from",
|
||||
'foreign_key_name',
|
||||
'fk_' || m.name || '_' || fk."from" || '_' || fk."table" || '_' || fk."to", -- Generated foreign key name
|
||||
'reference_schema', '', -- SQLite does not have schemas
|
||||
'reference_table', fk."table",
|
||||
'reference_column', fk."to",
|
||||
'fk_def',
|
||||
|
||||
Reference in New Issue
Block a user