-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Milestone
Description
Version: 5.0.2
Just executed bin/cake bake migration_snapshot Something --generate-only as I regularely reset my migrations and noticed, that it still generates deprecated code
in particular it generates foreign key's like so:
$this->table('repository_branches')
->addForeignKey(
$this->foreignKey('repository_id')
->setReferencedTable('repositories')
->setReferencedColumns('id')
->setOnDelete('RESTRICT')
->setOnUpdate('RESTRICT')
->setName('repository_branches_ibfk_1')
)
->update();
the deprecated methods are setOnDelete and setOnUpdate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels