Migrations fixed

This commit is contained in:
2022-03-25 16:16:31 -03:00
parent 2986806137
commit e41ffd505b
6 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ final class CuentaMoneda extends AbstractMigration
{
$this->table('cuentas')
->addColumn('moneda_id', 'integer')
->addForeignKey('moneda_id', 'monedas')
->addForeignKey('moneda_id', 'monedas', ['delete' => 'cascade', 'update' => 'cascade'])
->update();
}
}