Project

General

Profile

Actions

Feature #35562

closed

Show warning in admin/info when there are pending migrations

Added by Go MAEDA over 3 years ago. Updated over 3 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 #1

Updated by Go MAEDA over 3 years ago

  • Target version set to Candidate for next major release
Actions #2

Updated by Go MAEDA over 3 years ago

  • Target version changed from Candidate for next major release to 5.0.0

Setting the target version to 5.0.0.

Actions #3

Updated by Marius BÄ‚LTEANU over 3 years ago

Nice improvement!

Actions #4

Updated by Go MAEDA over 3 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch.

Actions

Also available in: Atom PDF