Add an option to create plugin migrations with properly marked scope
We want to mark every newly created migration with a scope that will indicate the plugin that this migration came from.
This will enable later on to rollback/migrate only migrations that belong to a certain plugin.
Fixes #19589 - Added plugin migration generator
Now plugin creators would be able to generate migrations by invoking
rails g plugin:migration <migration name and options> --plugin_name=my_plugin
refs #19589 - ensure that foreman starts in production
this avoids the following error in production (under passenger):
Message from application: uninitialized constant Generators::Base (NameError)
lib/generators/plugin/migration_generator.rb:1:in `<top (required)>