Customize existing database tables #1160
-
How can we modify existing database tables to cope with our needs? Understand that the medusa is installed as a package, so we cant modify it directly. Thanks in advance!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Callum! Sounds like you might be able to leverage this awesome community project built by @adrien2p to accomplish your needs: https://github.com/adrien2p/medusa-extender For most use cases it is recommended that you don't make too many modifications to the core db entities in order to make it easy to upgrade packages in the future, but there is always the option of extending further through the extender project if required. Would love to hear more about your use case - it might be that it would make sense for us to extend the core schema to allow for what you need :) |
Beta Was this translation helpful? Give feedback.
Hi Callum!
Sounds like you might be able to leverage this awesome community project built by @adrien2p to accomplish your needs: https://github.com/adrien2p/medusa-extender
For most use cases it is recommended that you don't make too many modifications to the core db entities in order to make it easy to upgrade packages in the future, but there is always the option of extending further through the extender project if required.
Would love to hear more about your use case - it might be that it would make sense for us to extend the core schema to allow for what you need :)