Correcto nombre de tabla
This commit is contained in:
@ -19,7 +19,7 @@ final class CreatePromotionProjects extends AbstractMigration
|
||||
*/
|
||||
public function change(): void
|
||||
{
|
||||
$this->table('promotion_tables')
|
||||
$this->table('promotion_projects')
|
||||
->addColumn('promotion_id', 'integer', ['signed' => false, 'null' => false])
|
||||
->addColumn('project_id', 'integer', ['signed' => false, 'null' => false])
|
||||
->addForeignKey('promotion_id', 'promotions', 'id', ['delete' => 'cascade', 'update' => 'cascade'])
|
||||
|
Reference in New Issue
Block a user