produces an exception while trying to do a schema diff (php app.php cycle:migrate)
exception is:
php app.php cycle:migrate
Detecting schema changes...
[2023-12-17T05:30:27.458514+00:00] roadrunner.ERROR: Cycle\Schema\Exception\ColumnException: Invalid column type definition in 'public.invoices'.'amount' in /app/vendor/cycle/schema-builder/src/Table/Column.php at line 122 [] []
[Cycle\Schema\Exception\ColumnException]
Invalid column type definition in 'public.invoices'.'amount'
in vendor/cycle/schema-builder/src/Table/Column.php:122
Previous: [ArgumentCountError]
Too few arguments to function Cycle\Database\Schema\AbstractColumn::decimal(), 0 passed and at least 1 expected
in vendor/cycle/database/src/Schema/AbstractColumn.php:603
No duplicates 🥲.
What happened?
In short, this works:
And this
produces an exception while trying to do a schema diff (
php app.php cycle:migrate
)exception is:
Previous: [ArgumentCountError] Too few arguments to function Cycle\Database\Schema\AbstractColumn::decimal(), 0 passed and at least 1 expected in vendor/cycle/database/src/Schema/AbstractColumn.php:603
Version