创建表多对一关联时报错,Association "本表关联ID" not found in model "关联表"


已尝试过
1、删掉 k3_sec_user_id_rel,页面报错:association create_k3_user_id_rel in fa_vch_certificate not found
2、删掉重建,依旧报错:Association “k3_sec_user_id_rel” not found in model “t_sec_user”

没看懂第一张图里是什么关系,请提供尽可能详细的信息,或者在 demo 上复现一下

目标:把A表的create_k3_user_id字段关联上 t_sec_user表的 fuserid 字段

操作步骤:
1、A表创建 多对一字段,命名k3_sec_user_id_rel (如图一,表结构展示)
2、创建好后,去浏览页面看效果,报错:Association “k3_sec_user_id_rel” not found in model “t_sec_user”(如图一,小图展示)

可以在 demo 复现一下吗

已经试出来了,把整个页面删掉重做可以解决