check_pending_migrations.patch

Go MAEDA, 2021-07-14 09:46

Download (1.53 KB)

View differences:

app/controllers/admin_controller.rb
76 76
      [:text_default_administrator_account_changed, User.default_admin_account_changed?],
77 77
      [:text_file_repository_writable, File.writable?(Attachment.storage_path)],
78 78
      ["#{l :text_plugin_assets_writable} (./public/plugin_assets)",   File.writable?(Redmine::Plugin.public_directory)],
79
      [:text_all_migrations_have_been_run, !ActiveRecord::Base.connection.migration_context.needs_migration?],
79 80
      [:text_minimagick_available,     Object.const_defined?(:MiniMagick)],
80 81
      [:text_convert_available,        Redmine::Thumbnail.convert_available?],
81 82
      [:text_gs_available,             Redmine::Thumbnail.gs_available?]
config/locales/en.yml
1242 1242
  text_default_administrator_account_changed: Default administrator account changed
1243 1243
  text_file_repository_writable: Attachments directory writable
1244 1244
  text_plugin_assets_writable: Plugin assets directory writable
1245
  text_all_migrations_have_been_run: All database migrations have been run
1245 1246
  text_minimagick_available: MiniMagick available (optional)
1246 1247
  text_convert_available: ImageMagick convert available (optional)
1247 1248
  text_gs_available: ImageMagick PDF support available (optional)