プロジェクト

全般

プロフィール

Vote #79475

未完了

Convert migration file from 4.2 to 5.2

Admin Redmine さんが約2年前に追加. 約2年前に更新.

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

0%

予定工数:
category_id:
21
version_id:
0
issue_org_id:
29424
author_id:
223595
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I recently saw Redmine use Rails 5.2.1, which is a good thing.

However, upgrading to Rails 5.2.1 does not simply add it to the Gemfile.

I have migrated the migration files from 4.2 to 5.2, please consider the patch.

The reason for the change: The default id of Rails 3-4 is int, which allows for a maximum of 4.2 billion items.

This is not a big number when using Redmine in large-scale applications.

Need to replace with bigint(20) in id and foreign key.

I tested the patch and confirmed that Redmine works normally after the upgrade.


journals

And this is an attach file raw source code in db.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,23630,Migrate to Rails 5.2

Admin Redmine さんが約2年前に更新

  • カテゴリDatabase_21 にセット

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

いいね!0
いいね!0