Sha256: 9ff36cc19f0f829752defc67e90ad0c1c8f6e126d6e3cf8e02be25ad723284f0

Contents?: true

Size: 627 Bytes

Versions: 8

Compression:

Stored size: 627 Bytes

Contents

require 'schema_plus/columns'
require 'schema_plus/db_default'
require 'schema_plus/default_expr'
require 'schema_plus/enums'
require 'schema_plus/foreign_keys'
require 'schema_plus/indexes'
require 'schema_plus/tables'
require 'schema_plus/views'
require 'schema_plus_pg_indexes'

require_relative 'schema_plus/version'

module SchemaPlus
  class DeprecatedConfig
    def foreign_keys
      SchemaPlus::ForeignKeys.config
    end
  end

  def self.setup # :yields: config
    ActiveSupport::Deprecation.warn "SchemaPlus.setup is deprecated.  Use SchemaPlus::ForeignKeys.setup instead"
    yield DeprecatedConfig.new
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
schema_plus-2.0.0.pre15 lib/schema_plus.rb
schema_plus-2.0.0.pre14 lib/schema_plus.rb
schema_plus-2.0.0.pre13 lib/schema_plus.rb
schema_plus-2.0.0.pre12 lib/schema_plus.rb
schema_plus-2.0.0.pre11 lib/schema_plus.rb
schema_plus-2.0.0.pre10 lib/schema_plus.rb
schema_plus-2.0.0.pre9 lib/schema_plus.rb
schema_plus-2.0.0.pre8 lib/schema_plus.rb