Sha256: 97e77380c8cbc7a7e5f9138b8784b75bc2ad0af05db06369f65eeb58f59f5c95

Contents?: true

Size: 480 Bytes

Versions: 16

Compression:

Stored size: 480 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

16 entries across 16 versions & 1 rubygems

Version Path
landable-1.13.1 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.12.3 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.12.2 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.12.1 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.11.1 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.11.0 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.10.0.rc2 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.10.0.rc1 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.9.2 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.9.1 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.9.0 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.9.0.rc2 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.9.0.rc1 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.8.0 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.7.1.rc1 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb
landable-1.7.0 db/migrate/20131106193021_page_revisisons__path_status_code_index.rb