Sha256: 073e5d5da5b8cdac96fdacc23a02ea93b14dfb181bd5753534589fd50b42b60f

Contents?: true

Size: 357 Bytes

Versions: 14

Compression:

Stored size: 357 Bytes

Contents

require "historiographer/postgres_migration"
class CreateThingWithCompoundIndexHistory < ActiveRecord::Migration[5.2]
  def change
    create_table :thing_with_compound_index_histories do |t|
      t.histories index_names: {
        [:key, :value] => "idx_history_k_v",
        :thing_with_compound_index_id => "idx_k_v_histories"
      }
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
historiographer-4.1.0 /Users/brettshollenberger/programming/historiographer/spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-4.0.0 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-3.1.2 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-3.1.1 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-3.1.0 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-3.0.0 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-2.0.1 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-2.0.0 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-1.4.3 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-1.4.1 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-1.4.0 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-1.3.1 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-1.3.0 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb
historiographer-1.2.0 spec/db/migrate/20191024142352_create_thing_with_compound_index_history.rb