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?

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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