instance method check_schema_sha1

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

check_schema_sha1(pool, file)

No documentation comment.

Parameters

pool req
file req
Source
# File activerecord/lib/active_record/tasks/database_tasks.rb, line 565
        def check_schema_sha1(pool, file)
          internal_metadata = pool.internal_metadata
          return false unless internal_metadata.enabled?
          return false unless internal_metadata.table_exists?

          internal_metadata[:schema_sha1] == schema_sha1(file)
        end

Defined in activerecord/lib/active_record/tasks/database_tasks.rb line 565 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Tasks::DatabaseTasks

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close