プロジェクト

全般

プロフィール

Vote #71920

完了

redmine_plugin_model generator does not create the migration

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Plugin API_20
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
20
version_id:
49
issue_org_id:
11024
author_id:
56591
assigned_to_id:
0
comments:
5
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
43
ステータス-->[Closed]

説明

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)

Admin Redmine さんが3年以上前に更新

  • カテゴリPlugin API_20 にセット
  • 対象バージョン2.0.1_49 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0