Project

General

Profile

Actions

Defect #11024

closed

redmine_plugin_model generator does not create the migration

Added by Giovanni D over 12 years ago. Updated about 7 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 #1

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.

Actions #2

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
Actions #3

Updated by Jean-Philippe Lang over 12 years ago

  • Status changed from Resolved to Closed

Merged.

Actions #4

Updated by Toshi MARUYAMA about 7 years ago

  • Description updated (diff)
Actions #5

Updated by Toshi MARUYAMA about 7 years ago

  • Related to Patch #27659: redmine_plugin_model_generator improvements(fixes and timestamps) added
Actions

Also available in: Atom PDF