开发者

Prevent Doctrine 1 creating foreign key constraints

开发者 https://www.devze.com 2023-01-18 20:29 出处:网络
Is it possible to prevent doctrine 1.2 f开发者_Python百科rom adding foreign key constraints for a relation?if you are going to use MYISAM then just do this in your model:

Is it possible to prevent doctrine 1.2 f开发者_Python百科rom adding foreign key constraints for a relation?


if you are going to use MYISAM then just do this in your model:

public function setUp() {
        $this->option('type', 'MyISAM');
}
0

精彩评论

暂无评论...
验证码 换一张
取 消