Project

General

Profile

Actions

Defect #11024

closed

redmine_plugin_model generator does not create the migration

Added by Giovanni D almost 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
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

Related to Redmine - Defect #10928: Documentation about generating a plugin is not up-to-dateClosedJean-Philippe Lang

Actions
Related to Redmine - Patch #27659: redmine_plugin_model_generator improvements(fixes and timestamps)ClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF