diff --git a/packages/db/src/core/queries.ts b/packages/db/src/core/queries.ts index 1b5833abc4..c3e47c7ce0 100644 --- a/packages/db/src/core/queries.ts +++ b/packages/db/src/core/queries.ts @@ -117,8 +117,6 @@ export function getCreateForeignKeyQueries(collectionName: string, collection: D const fields = asArray(foreignKey.fields); const references = asArray(foreignKey.references); - console.log(references[0]); - if (fields.length !== references.length) { throw new Error( `Foreign key on ${collectionName} is misconfigured. \`fields\` and \`references\` must be the same length.`