Creating custom fields in the plugin
I want to write a plugin that will depend on quite a few custom fields, so I would like to create the custom fields automatically. Ideally within the plugin code, or if not by a script I can run when I install the plugin - I really don't want to have to create 10+ fields through the web interface when I set this up, especially when one is a list with quite a few values.
Can anyone tell me if there are standard ways of doing this?
write a ruckusing script and do db:migrate_plugins to update info for your plugin?