Skip to content

Commit

Permalink
on passe la distance du transport en smallint
Browse files Browse the repository at this point in the history
Car sinon on ne pouvait pas enregistrer les dernières valeurs, à 500 et 1000.
  • Loading branch information
agallou committed May 23, 2024
1 parent b1e15f6 commit cf972c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ class AfupForumTransportInformation extends AbstractMigration
public function change()
{
$this->execute("ALTER TABLE `afup_forum` ADD `transport_information_enabled` TINYINT DEFAULT 0");
$this->execute("ALTER TABLE `afup_inscription_forum` ADD `transport_mode` TINYINT, ADD `transport_distance` TINYINT");
$this->execute("ALTER TABLE `afup_inscription_forum` ADD `transport_mode` TINYINT, ADD `transport_distance` SMALLINT");
}
}

0 comments on commit cf972c1

Please sign in to comment.