Sha256: eb6ee5870e4d3267c24332704ea60348cb387a0c5e343425b3772135d244d2f4

Contents?: true

Size: 373 Bytes

Versions: 69

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

require_relative 'index_add'

module DeclareSchema
  module SchemaChange
    class IndexRemove < IndexAdd
      alias index_add_up_command up_command
      alias index_add_down_command down_command

      def up_command
        index_add_down_command
      end

      def down_command
        index_add_up_command
      end
    end
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
declare_schema-2.3.0 lib/declare_schema/schema_change/index_remove.rb
declare_schema-2.3.0.pre.is.0 lib/declare_schema/schema_change/index_remove.rb
declare_schema-2.2.1 lib/declare_schema/schema_change/index_remove.rb
declare_schema-2.2.0.colin.1 lib/declare_schema/schema_change/index_remove.rb
declare_schema-2.2.0 lib/declare_schema/schema_change/index_remove.rb
declare_schema-2.1.0 lib/declare_schema/schema_change/index_remove.rb
declare_schema-2.1.0.pre.1 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.4.0 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.4.0.colin.11 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.3.6 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.3.6.colin.1 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.3.5 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.3.5.colin.1 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.4.0.colin.9 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.3.4 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.3.4.colin.1 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.4.0.colin.8 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.3.3 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.3.3.colin.1 lib/declare_schema/schema_change/index_remove.rb
declare_schema-1.4.0.colin.7 lib/declare_schema/schema_change/index_remove.rb