first commit

This commit is contained in:
2026-01-25 18:18:09 +08:00
commit 509312e604
8136 changed files with 2349298 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<?php
/**
* @var array $foreignKeys
* @var string $table
*/
?>
<?php foreach ($foreignKeys as $column => $fkData): ?>
// drops foreign key for table `<?= $fkData['relatedTable'] ?>`
$this->dropForeignKey(
'<?= $fkData['fk'] ?>',
'<?= $table ?>'
);
// drops index for column `<?= $column ?>`
$this->dropIndex(
'<?= $fkData['idx'] ?>',
'<?= $table ?>'
);
<?php endforeach;