toga-ai 1.0.801 → 1.0.802
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -80,7 +80,7 @@ function targetDb(filePath) {
|
|
|
80
80
|
function findUnassignedIds(sql) {
|
|
81
81
|
const code = stripNonCode(sql);
|
|
82
82
|
// (?<![A-Za-z0-9_`]) prevents matching CustomRecordFields / SectionRecordFields.
|
|
83
|
-
const re = /\b(?:INSERT(?:\s+IGNORE)?|REPLACE)\s+INTO\s+(?:`?Core`?\s*\.\s*)?`?(?<![A-Za-z0-9_])(Records|RecordFields)`?/gi;
|
|
83
|
+
const re = /\b(?:INSERT(?:\s+IGNORE)?|REPLACE)\s+INTO\s+(?:`?Core`?\s*\.\s*)?`?(?<![A-Za-z0-9_])(Records|RecordFields)(?![A-Za-z0-9_])`?/gi;
|
|
84
84
|
const found = [];
|
|
85
85
|
let hit;
|
|
86
86
|
while ((hit = re.exec(code)) !== null) {
|