Skip to content

[Main] error: TypeError: conversion._extraConfig.foreign_keys[i] is not iterable #140

@nixoschu

Description

@nixoschu

In my extra config I was trying to define all my foreign key relations but nothing is happening.
All the other tables, data, renamings, indexes are created just fine 🥳

In my logs I stumbled upon this Error

[Main] error: TypeError: conversion._extraConfig.foreign_keys[i] is not iterable

This is my section inside my extra config json

  "foreign_keys": [
    {
      "constraint_name": "fk_course_address",
      "table_name": "course",
      "column_name": "address_id",
      "referenced_table_name": "address",
      "referenced_column_name": "id",
      "update_rule": "restrict",
      "delete_rule": "restrict"
    },
    {
      "constraint_name": "fk_course_type",
      "table_name": "course",
      "column_name": "course_type_id",
      "referenced_table_name": "course_type",
      "referenced_column_name": "id",
      "update_rule": "restrict",
      "delete_rule": "restrict"
    }
  ]

errors-only.log does not show any other insides on that issue for me.

Is there anything I can try to change things and make it work ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions