Fix: SEPE plugin foreign key constraint fails #2461

pull/2479/head
Nosolored 8 years ago
parent d9b53ee886
commit bcbe410049
  1. 4
      plugin/sepe/database.php

@ -470,12 +470,12 @@ $sepeParticipantsTable->addColumn(
$sepeParticipantsTable->addColumn(
'company_tutor_id',
\Doctrine\DBAL\Types\Type::INTEGER,
['unsigned' => true]
['unsigned' => true, 'notnull' => false]
);
$sepeParticipantsTable->addColumn(
'training_tutor_id',
\Doctrine\DBAL\Types\Type::INTEGER,
['unsigned' => true]
['unsigned' => true, 'notnull' => false]
);
$sepeParticipantsTable->setPrimaryKey(['id']);
$sepeParticipantsTable->addForeignKeyConstraint(

Loading…
Cancel
Save