Correcto nombre de tabla

This commit is contained in:
Juan Pablo Vial
2025-04-03 13:12:57 -03:00
parent 8a7a1d4e64
commit ced673e452

View File

@ -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'])