Open ncodealex opened 3 months ago
if i add parameters with attributes we get same behavior
#[Column(type: 'decimal', nullable: false, default: 0, attributes: ['precision' => 3, 'scale' => 11])]
private int $width = 0;
could you try #[Column(type: 'decimal(3,11)')]
?
could you try
#[Column(type: 'decimal(3,11)')]
?
This work !
Will be generated:
->addColumn('property_width', 'decimal', ['nullable' => false, 'defaultValue' => 0, 'precision' => 3, 'scale' => 11])
No duplicates 🥲.
What happened?
Hello ! Thanks for your product !
I'm create embeddable class for my base entity.
When i generate migration file with the command:
I get such a file that does not include params precision and scale params:
I will be grateful for your help!
Version
annotated v4.1.0, orm v2.8.1, PHP 8.3
ORM Schema
No response