Sha256: b63dc7ab984b4747944b3461daccd67f527c01c72004e56aad2309b8c4b37373

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

class PageRevisisonsPathStatusCodeIndex < Landable::Migration
  def up
    execute <<-SQL
      DROP INDEX #{Landable.configuration.database_schema_prefix}landable.#{Landable.configuration.database_schema_prefix}landable_page_revisions__path;
      CREATE INDEX #{Landable.configuration.database_schema_prefix}landable_page_revisions__path_status_code
              ON #{Landable.configuration.database_schema_prefix}landable.page_revisions(path, status_code);
    SQL
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
landable-1.14.0 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.13.2 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb