Sha256: a2a8afe84b92445677731b42b783668ce0c820a9b41396e510d980505b37410e
Contents?: true
Size: 532 Bytes
Versions: 8
Compression:
Stored size: 532 Bytes
Contents
module ActiveGraph module Migrations class << self def check_for_pending_migrations! return if ActiveGraph::Config.configuration['skip_migration_check'] runner = ActiveGraph::Migrations::Runner.new pending = runner.pending_migrations fail ::ActiveGraph::PendingMigrationError, pending if pending.any? end attr_accessor :currently_running_migrations def maintain_test_schema! ActiveGraph::Migrations::Runner.new(silenced: true).all end end end end
Version data entries
8 entries across 8 versions & 1 rubygems