module Postgresql::Check

Constants

VERSION

Public Class Methods

setup() click to toggle source
# File lib/postgresql/check.rb, line 17
def self.setup
  ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.module_eval do
    include Postgresql::Check::SchemaStatements
    include Postgresql::Check::SchemaDefinitions
  end

  ActiveRecord::SchemaDumper.class_eval do
    include Postgresql::Check::SchemaDumper
  end

  ActiveRecord::Migration::CommandRecorder.class_eval do
    include Postgresql::Check::CommandRecorder
  end
end