mariodavid / cuba-component-attachable

CUBA component that lets you add attachments to any entity
Apache License 2.0
7 stars 2 forks source link

MySQL Support? #18

Open utrost opened 5 years ago

utrost commented 5 years ago

Hello Mario,

I just found out about cuba platform and its possibilites - along with the marketplace. Your "Attachable" component seems very useful. However I noticed that it does not support MySQL yet. Are there any plans to include MySQL as well further down the road?

Best, Uwe

mariodavid commented 5 years ago

Hi,

There are no plans, but you can just make it happen if you want :). It is actually a perfect example of a first open source contribution.

What you have to do is:

  1. Fork the repository
  2. Git clone your version of the repo
  3. Open the project in studio
  4. Change DB to MySql
  5. Run generate DB scripts via studio
  6. Run the app and take a look if everything works
  7. Commit and push the newly created SQL files
  8. Create a pull request to this repository

Thats it :)

Unfortunately we have to do the same procedure for this app component as well: https://github.com/mariodavid/cuba-component-taggable because attachable relies on taggable.

I would really like to see your contribution. If you need any help don't hesitate to ask me.

Bye Mario

mariodavid commented 5 years ago

Ps: a guide regarding the githug fork & PR workflow can be found here: https://gist.github.com/Chaser324/ce0505fbed06b947d962

drshiki commented 5 years ago

I made a cuba7 version based on this component, it works on mysql