Actions
Patch #29424
openConvert migration file from 4.2 to 5.2
Status:
New
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
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.
Files
Related issues
Updated by Enziin System about 6 years ago
And this is an attach file raw source code in db.
Updated by Marius BĂLTEANU about 6 years ago
- Related to Patch #28933: Migrate to Rails 5.2 added
Updated by Marius BĂLTEANU about 6 years ago
- Related to deleted (Patch #28933: Migrate to Rails 5.2)
Updated by Marius BĂLTEANU about 6 years ago
- Related to Feature #23630: Migrate to Rails 5.2 added
Actions