问题描述
我在 Postgres 中有一个如下所示的配置表
现在我有一个 runtime_process 表,根据类型,我必须存储相应表的 ID。 (即)如果 type_id 为 100,则必须存储 Permission 的 id。那么我如何在 runt_process 表中给出外键引用,以便它只引用这些表的 ids (Permission,Account&Role)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)