Sha256: a6f484127324a0b2d8b5cc0a4e6ee7bb176a4aa6213b6ea38fb77612bebaf8c8

Contents?: true

Size: 1.68 KB

Versions: 1

Compression:

Stored size: 1.68 KB

Contents

module SchemaPlus
  module Core
    module Middleware
      module Query
        module Exec
          ENV = [:connection, :sql, :query_name, :binds, :result]
        end
      end

      module Schema
        module Tables
          # :database and :like are only for mysql
          # :table_name is only for sqlite3
          ENV = [:connection, :query_name, :table_name, :database, :like, :tables]
        end

        module Indexes
          ENV = [:connection, :query_name, :table_name, :index_definitions]
        end
      end

      module Migration
        module Column
          ENV = [:caller, :operation, :table_name, :column_name, :type, :options]
        end

        module Index
          ENV = [:caller, :operation, :table_name, :column_names, :options]
        end
      end

      module Sql
        module ColumnOptions
          ENV = [:caller, :connection, :sql, :column, :options]
        end

        module IndexComponents
          ENV = [:connection, :table_name, :column_names, :options, :sql]
        end

        module Table
          ENV = [:caller, :connection, :table_definition, :sql]
        end
      end

      module Dumper
        module Initial
          ENV = [:dumper, :connection, :dump, :initial]
        end
        module Tables
          ENV = [:dumper, :connection, :dump]
        end
        module Table
          ENV = [:dumper, :connection, :dump, :table]
        end
        module Indexes
          ENV = [:dumper, :connection, :dump, :table]
        end
      end

      module Model
        module Columns
          ENV = [:model, :columns]
        end
        module ResetColumnInformation
          ENV = [:model]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schema_plus_core-0.1.0 lib/schema_plus/core/middleware.rb