This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Cannot read properties of undefined (reading 'includes') #47
Labels
issue: bug
Issue reporting a bug
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
source: v3-SQL to v4-SQL
status: pending reproduction
Waiting for free time to reproduce the issue, or more information
Bug report
Required System information
Describe the bug
When running the script, the script aborts with the following error:
const v3RelationTables = tables.filter((t) => t.includes("__"));
TypeError: Cannot read properties of undefined (reading 'includes')
Steps to reproduce the behavior
Screenshots
Code snippets
const v3RelationTables = tables.filter((t) => t.includes("__"));
Additional context
Before starting the script, I had to adjust certain columns in the table to be compliant with the snake_case.
The text was updated successfully, but these errors were encountered: