mosch
mosch

Reputation: 1035

Prevent Doctrine 1 creating foreign key constraints

Is it possible to prevent doctrine 1.2 from adding foreign key constraints for a relation?

Upvotes: 3

Views: 477

Answers (1)

ITroubs
ITroubs

Reputation: 11215

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

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

Upvotes: 2

Related Questions