Sha256: f4353dfbb06d25a44d2d65e0a87f7ea6949588d1225165f96240f5126bc0bcae
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
class CreateIndexesOnHasStatesStates < ActiveRecord::Migration[8.0] def change change_table :has_states_states do |t| t.index %i[stateable_id state_type] t.index %i[stateable_id state_type status] t.index %i[stateable_id state_type created_at] t.index %i[stateable_id state_type status created_at] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stateful_models-0.0.3 | spec/dummy/db/migrate/20250114175939_create_indexes_on_has_states_states.rb |