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