Sha256: 4ca864e9a00397715f9beeee68ca2fe68d9aefc37f2c8e6fd20d7891d1407611

Contents?: true

Size: 470 Bytes

Versions: 67

Compression:

Stored size: 470 Bytes

Contents

module RedHillConsulting::Core::ActiveRecord::ConnectionAdapters
  module SchemaStatements
    def self.included(base)
      base.module_eval do
        alias_method_chain :create_table, :redhillonrails_core
      end
    end

    def create_table_with_redhillonrails_core(name, options = {})
      create_table_without_redhillonrails_core(name, options) do |table_defintion|
        table_defintion.name = name
        yield table_defintion
      end
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
backlog-0.36.2 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.1 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.0 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.4 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.2 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.3 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.5 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.6 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.7 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.11.0 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.10.8 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.12.0 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.12.2 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.12.1 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.12.3 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.12.4 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.13.0 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.14.0 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.13.1 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb
backlog-0.14.1 vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core/active_record/connection_adapters/schema_statements.rb