module PgHaMigrations
Constants
- Config
- InvalidMigrationError
Invalid migrations are operations which we expect to not function as expected or get the schema into an inconsistent state
- LOCK_FAILURE_RETRY_DELAY_MULTLIPLIER
- LOCK_TIMEOUT_SECONDS
- UnsafeMigrationError
Safe versus unsafe in this context specifically means the following:
-
Safe operations will not block for long periods of time.
-
Unsafe operations may block for long periods of time.
-
- UnsupportedAdapter
This gem only supports the PostgreSQL adapter at this time.
- UnsupportedMigrationError
Unsupported migrations use ActiveRecord::Migration features that we don't support, and therefore will likely have unexpected behavior.
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/pg_ha_migrations.rb, line 14 def self.config @config ||= Config.new( true, false, true ) end
configure() { |config| ... }
click to toggle source
# File lib/pg_ha_migrations.rb, line 22 def self.configure yield config end