1

I'm using Records to create some new tables for use by my plugin. I now need to add some initial data to one of the these tables. What's the best way of accomplishing this on install?

4

Looks like overriding the onAfterInstall() method in the main Plugin class is where I should be adding this sort of stuff. Amazing what you find when you actually read the instructions!

More details here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.