Comments (3)
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])
from annotated.
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;
from annotated.
could you try #[Column(type: 'decimal(3,11)')]
?
from annotated.
Related Issues (20)
- [Bug]: Columns declared in non-entity classes are ignored ๐
- Possible ManyToMany typo? HOT 2
- Duplicate namespaces in resources/stubs HOT 11
- Adding an index to a JTI table
- ๐ก define a embeddable object prefix in the Embedded relation
- Select query with polymorphic relationship does not work HOT 1
- Child entities are not added to registry when using attributes๐ HOT 1
- Primary Keys are resolving to arrays even when they're not, which makes select->count() not work properly๐
- It would be nice to be able to define charsets for columns like this: HOT 5
- ๐ Check compatibility with doctrine/annotations 2.0
- ๐ก Remove doctrine/annotations dependency
- ๐ก Up PHP min version to 8.1
- JTI parent has children fields
- ๐ก Add the ability to map column to property without declaring it in migration
- Update readme.md
- ๐ก Attribute #[ForeignKey]
- [Bug]: HasOne overrides nullability of BelongsTo HOT 5
- Virtual generated column๐ก HOT 1
- Check constraint๐ก HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annotated.