intaro / custom-index-bundle Goto Github PK
View Code? Open in Web Editor NEWThe bundle allows to describe and create non-standard database indexes for entities
License: MIT License
The bundle allows to describe and create non-standard database indexes for entities
License: MIT License
๐
Similarly to #7 I think the bundle can easily support v5. Path in progress.
When working with entities that have same class names and same index names defined, the indexes arent created for all the entities. It looks like there is some internal map by name or by Entity+name.
Example. Lets say you are working with a modular monolith application, and You have 2 Entites named Address
in different modules. They have separate table names with module prefix, like module1_address
and module_2_address
. Both Address entities have street
property. If we want to create index on street
property in both tables using same annotaion like:
@Index(
* name="street_idx",
* columns={"street"}
* ),
*/
there will be index for only one entity created. I don't know if this is a bug, missing feature or some db limitation, but I thought it is worth mentioning.
Thanks for the good work!
Hey,
your repos looks great but it doesn't seems to work with Symfony migration bundle.
Have you any idea how to make it works ?
Regards, Yoann
Can you add support for exclude gist index please?
Hello,
first I want to thank you for the good job, this was exactly what I was looking for but...
How are you handling the case that standard doctrine:schema:update
will detect the created index as non-schema-compliant and will dispatch an action to remove this index ?
Best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.