Project

General

Profile

Actions

Feature #35562

closed

Show warning in admin/info when there are pending migrations

Added by Go MAEDA over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Administration
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

The attached patch adds an indication to the admin/info page whether all database migrations have been run or not.

Some users forget to run the rake task db:migrate when they update Redmine and encounter errors. Sometimes it is difficult for users new to Ruby on Rails to identify that the cause is that database migrations have not been run (examples: NoMethodError undefined method set_inheritance_column for..., RE: Can't access my project on Redmine 4.1.1).

The new indication that the patch introduces gives such users a chance to know the cause. It is also useful for people who are asked help from such users to figure out the cause.


Files

Actions

Also available in: Atom PDF