feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
366 changed files with 1365 additions and 15346 deletions
Showing only changes of commit ced673e452 - Show all commits

View File

@ -19,7 +19,7 @@ final class CreatePromotionProjects extends AbstractMigration
*/ */
public function change(): void public function change(): void
{ {
$this->table('promotion_tables') $this->table('promotion_projects')
->addColumn('promotion_id', 'integer', ['signed' => false, 'null' => false]) ->addColumn('promotion_id', 'integer', ['signed' => false, 'null' => false])
->addColumn('project_id', 'integer', ['signed' => false, 'null' => false]) ->addColumn('project_id', 'integer', ['signed' => false, 'null' => false])
->addForeignKey('promotion_id', 'promotions', 'id', ['delete' => 'cascade', 'update' => 'cascade']) ->addForeignKey('promotion_id', 'promotions', 'id', ['delete' => 'cascade', 'update' => 'cascade'])