缺少外键列
Foreign Key column missing
我很难理解一些对我来说毫无意义的东西。
所以我在 google app maker 下有一个数据库,其中有 relation
和 foreign_key
。
但是一个关系的 foreign_key 没有出现在 Google Cloud Platform Cloud console / Google App Maker / Google App Script 的 mysql terminal 中, 但它适用于 appmaker.
我有一个来自 google 应用程序脚本的网络应用程序,我在其中尝试使用 jdbc
创建行,但没有 foreign_key
,我无法完成我开始的工作。
今天我尝试添加一个新关系,它 foreign_key 出现在控制台中。
我已经尝试联系不知道如何帮助我的 google 支持人员。
我尝试过的事情:
我试图将 foreign_key 重命名为缺少的 foreign_key。
我试图改变 sql table。
我尝试创建手册 foreign_key
所以有人知道如何绕过没有出现的 foreign_key 吗?
感谢@TheMaster 和@Morfinismo 的帮助。
所以我找到了问题的根源。
当您在 Google App Maker 中创建多对多关系时,Foreign_Key 不会出现,它会创建一个连接 table 来保存所有 fk。
Imagine you have two table A and B and you create a Many to Many it will create a new tablea Called A_Has_B and it will contaign two Foreign_key A_fk and B_fk.
我很难理解一些对我来说毫无意义的东西。
所以我在 google app maker 下有一个数据库,其中有 relation
和 foreign_key
。
但是一个关系的 foreign_key 没有出现在 Google Cloud Platform Cloud console / Google App Maker / Google App Script 的 mysql terminal 中, 但它适用于 appmaker.
我有一个来自 google 应用程序脚本的网络应用程序,我在其中尝试使用 jdbc
创建行,但没有 foreign_key
,我无法完成我开始的工作。
今天我尝试添加一个新关系,它 foreign_key 出现在控制台中。
我已经尝试联系不知道如何帮助我的 google 支持人员。
我尝试过的事情:
我试图将 foreign_key 重命名为缺少的 foreign_key。
我试图改变 sql table。
我尝试创建手册 foreign_key
所以有人知道如何绕过没有出现的 foreign_key 吗?
感谢@TheMaster 和@Morfinismo 的帮助。
所以我找到了问题的根源。
当您在 Google App Maker 中创建多对多关系时,Foreign_Key 不会出现,它会创建一个连接 table 来保存所有 fk。
Imagine you have two table A and B and you create a Many to Many it will create a new tablea Called A_Has_B and it will contaign two Foreign_key A_fk and B_fk.