You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
282 B

  1. # frozen_string_literal: true
  2. class Admin::SystemCheck::DatabaseSchemaCheck < Admin::SystemCheck::BaseCheck
  3. def pass?
  4. !ActiveRecord::Base.connection.migration_context.needs_migration?
  5. end
  6. def message
  7. Admin::SystemCheck::Message.new(:database_schema_check)
  8. end
  9. end