Skip to content

Commit

Permalink
Merge pull request #1540 from afup/fix_cotis_999
Browse files Browse the repository at this point in the history
correction stockage montant cotisation
  • Loading branch information
agallou committed Sep 18, 2024
2 parents 01b9d54 + 1482b7f commit 19d018c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions db/migrations/20240918112441_cotisation_type.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

use Phinx\Migration\AbstractMigration;

class CotisationType extends AbstractMigration
{
public function change()
{
// avant on était en float(5,2) unsigned
$this->execute("ALTER TABLE afup_cotisations MODIFY montant float(6,2) unsigned NOT NULL DEFAULT '0.00'");
}
}

0 comments on commit 19d018c

Please sign in to comment.