Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Yii 的新手,我想知道 gii 它是否支持表的关系?
如果您在引用列的注释中包含如下格式,Gii 将为 MyISAM 表创建关系:
CONSTRAINT FOREIGN KEY (name_of_this_field) REFERENCES related_table_name(related_field_name)