You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
If model of previous state have no indexes and i will add index in this model then i will still get message "No changes found".
I found bug. Could you fix this code section:
if (models[model].options.indexes.length > 0)
{
let idx_out = {};
for (let _i in models[model].options.indexes)
{
let index = parseIndex(models[model].options.indexes[_i]);
idx_out[index.hash+''] = index;
delete index.hash;
// make it immutable
Object.freeze(index);
}
models[model].options.indexes = idx_out;
} else {
models[model].options.indexes = {}; // Important change, because models[model].options.indexes is [] but it must be {}
}
tables[models[model].tableName].indexes = models[model].options.indexes;
The text was updated successfully, but these errors were encountered:
Hello.
If model of previous state have no indexes and i will add index in this model then i will still get message "No changes found".
I found bug. Could you fix this code section:
The text was updated successfully, but these errors were encountered: