Set on save, isSQL as well.
This commit is contained in:
parent
faee609243
commit
f82f6e7b3b
|
@ -300,11 +300,11 @@ export async function save(
|
||||||
const fetchSchema = opts?.fetchSchema || false
|
const fetchSchema = opts?.fetchSchema || false
|
||||||
const tablesFilter = opts?.tablesFilter || []
|
const tablesFilter = opts?.tablesFilter || []
|
||||||
|
|
||||||
datasource = {
|
datasource = addDatasourceFlags({
|
||||||
_id: generateDatasourceID({ plus }),
|
_id: generateDatasourceID({ plus }),
|
||||||
...datasource,
|
...datasource,
|
||||||
type: plus ? DocumentType.DATASOURCE_PLUS : DocumentType.DATASOURCE,
|
type: plus ? DocumentType.DATASOURCE_PLUS : DocumentType.DATASOURCE,
|
||||||
}
|
})
|
||||||
|
|
||||||
let errors: Record<string, string> = {}
|
let errors: Record<string, string> = {}
|
||||||
if (fetchSchema) {
|
if (fetchSchema) {
|
||||||
|
|
Loading…
Reference in New Issue