What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello, is there any limitation regarding changing or adding indices to tables/columns that are defin
Hello, is there any limitation regarding changing or adding indices to tables/columns that are defined inside vendor/spryker packages? I.e. i would like to index spy_sales_order.email column, but propel:diff does not recognize changes. I put this into spy_sales.schema.xml on project level:
<table name="spy_sales_order" phpName="SpySalesOrder"> <index name="spy_sales_order_email_index"> <index-column name="email"/> </index> </table>
Comments
-
looks good to me, can you make sure that xml is located properly?
0 -
sure because already in that extended xml we have definitions of our custom tables
0 -
maybe you already have this index set by other module?
0 -
I see. Any constraints on email field? SHouldn't be the case for orders table though
0 -
nope π
0 -
Please try to run the schema-copy command before doing the diff with propel
0 -
after schema copy, it seems that it hasnt merged properties of this index into generated spy_sales.schema π no errors btw.
0 -
also tried propel:install, same thing⦠But generally if you say that it should work, will try something⦠Can you just confirm that you can add this exact index?
0 -
will continue investigating tomorrow
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random