AddColumn type decimal

@ClaudioGS Claudio A. González S.
Sun, 01 Sep 2024 13:03:05 +0000

I did what was recommended, but it still gives an error on the following line:
->addColumn('interes', 'decimal', ['precision' => 10, 'scale' => 2, 'signed' => false, 'null' => false])

RuntimeException: "unsigned" is not a valid column option. in /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Db/Table/Column.php:798
Stack trace:
#0 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/AbstractAdapter.php(292): Phinx\Db\Table\Column->setOptions()
#1 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/AdapterWrapper.php(138): Phinx\Db\Adapter\AbstractAdapter->getColumnForType()
#2 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(310): Phinx\Db\Adapter\AdapterWrapper->getColumnForType()
#3 /home/servpcspa/web/servpcspa.com/public_html/db/migrations/20240831164252_create_deudores_table.php(17): Phinx\Db\Table->addColumn()
#4 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Migration/Manager/Environment.php(109): CreateDeudoresTable->change()
#5 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(389): Phinx\Migration\Manager\Environment->executeMigration()
#6 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(360): Phinx\Migration\Manager->executeMigration()
#7 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Console/Command/Migrate.php(124): Phinx\Migration\Manager->migrate()
#8 /home/servpcspa/web/servpcspa.com/public_html/vendor/symfony/console/Command/Command.php(279): Phinx\Console\Command\Migrate->execute()
#9 /home/servpcspa/web/servpcspa.com/public_html/vendor/symfony/console/Application.php(1029): Symfony\Component\Console\Command\Command->run()
#10 /home/servpcspa/web/servpcspa.com/public_html/vendor/symfony/console/Application.php(316): Symfony\Component\Console\Application->doRunCommand()
#11 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/src/Phinx/Console/PhinxApplication.php(75): Symfony\Component\Console\Application->doRun()
#12 /home/servpcspa/web/servpcspa.com/public_html/vendor/symfony/console/Application.php(167): Phinx\Console\PhinxApplication->doRun()
#13 /home/servpcspa/web/servpcspa.com/public_html/vendor/robmorgan/phinx/bin/phinx(28): Symfony\Component\Console\Application->run()
#14 /home/servpcspa/web/servpcspa.com/public_html/vendor/bin/phinx(119): include('...')
#15 {main}