Actions
Defect #11024
closedredmine_plugin_model generator does not create the migration
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
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
Related issues
Updated by Jean-Philippe Lang over 12 years ago
- Category set to Plugin API
- Status changed from New to Resolved
- Target version set to 2.0.1
- Affected version (unused) set to 2.0.0
- Resolution set to Fixed
- Affected version set to 2.0.0
Fixed in r9718.
Updated by Jean-Philippe Lang over 12 years ago
- Subject changed from Redmine 2.0.0 redmine_plugin_model does not create the migration to redmine_plugin_model generator does not create the migration
Updated by Toshi MARUYAMA almost 7 years ago
- Related to Patch #27659: redmine_plugin_model_generator improvements(fixes and timestamps) added
Actions