mirror of
https://github.com/chartdb/chartdb.git
synced 2025-11-05 22:43:30 +00:00
fix: update import queries and fix bug for MySQL & MariaDB
This commit is contained in:
committed by
Jonathan Fishner
parent
0a11b6f883
commit
89e0cddd42
@@ -223,7 +223,7 @@ SELECT CONCAT('{ "fk_info": [', COALESCE(fk_metadata, ''),
|
||||
'], "tables":[', COALESCE(tbls_metadata, ''),
|
||||
'], "views":[', COALESCE(views_metadata, ''),
|
||||
'], "database_name": "', CURRENT_DATABASE(), '', '", "version": "', '',
|
||||
'"}') AS " "
|
||||
'"}') AS metadata_json_to_import
|
||||
FROM fk_info${databaseEdition ? '_' + databaseEdition : ''}, pk_info, cols, indexes_metadata, tbls, config, views;
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user