new(core.gbapp): LLM alerts for data.

This commit is contained in:
me@rodrigorodriguez.com 2024-10-17 14:00:42 -03:00
parent 64c26632dd
commit 0c1c8788b8
2 changed files with 7 additions and 1 deletions

View file

@ -415,6 +415,12 @@ export class GBVMService extends GBService {
});
sync = sync ? sync : !found;
// Do not erase tables in case of an error in collection retrieval.
if (tables.length === 0){
sync = false;
}
associations.forEach(e => {
const from = seq.models[e.from];

View file

@ -2912,7 +2912,7 @@ export class SystemKeywords {
const dialect = con.dialect.name;
// Step 3: Get the list of all tables from the source database
const tables = await GBUtil.listTables(dialect, min.core.sequelize);
const tables = await GBUtil.listTables(dialect, con);
// Function to map source database datatypes to SQLite-compatible datatypes
const mapToSQLiteType = (columnType) => {