Ruby on Rails schema.rb import Error Expected " ", "on_delete", "on_update", column, or primary key but "n" found

Got error

(993:56) Expected " ", “on_delete”, “on_update”, column, or primary key but “n” found.

Line example it mentions is like this

add_foreign_key “account_domain_1”, “accounts”, name: “cd_106c6029bd”, on_delete: :cascade

1 Like
  • 1, getting the same error but no solution

Bump? Still exist bug about #
Also another bug
image