Vote #71920
完了redmine_plugin_model generator does not create the migration
0%
説明
On Redmine 2.0.0, by following the tutorial on creating a new plugin (Plugin_Tutorial), the following command:
ruby script/generate redmine_plugin_model polls poll question:string yes:integer no:integer
which actually I launched as:
./script/rails generate redmine_plugin_model polls poll question:string yes:integer no:integer
does not generate the migration files, but it generates only these two files:
create plugins/polls/app/models/poll.rb create plugins/polls/test/unit/poll_test.rb
journals
Fixed in r9718.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,10928,Documentation about generating a plugin is not up-to-date
relates,Closed,27659,redmine_plugin_model_generator improvements(fixes and timestamps)