You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
304B

  1. <?php
  2. /**
  3. * Creates a call for the method `yii\db\Migration::createTable()`
  4. */
  5. /* @var $foreignKeys array the foreign keys */
  6. if (!empty($foreignKeys)):?>
  7. * Has foreign keys to the tables:
  8. *
  9. <?php foreach ($foreignKeys as $fkData): ?>
  10. * - `<?= $fkData['relatedTable'] ?>`
  11. <?php endforeach;
  12. endif;