Sha256: 31f1f81c17bfe5f83468486b787f467dd6eeb870f7fd6797b488d6c247db6f74
Contents?: true
Size: 438 Bytes
Versions: 13
Compression:
Stored size: 438 Bytes
Contents
class AddConstraintsToMostRecentForBaconTransitions < ActiveRecord::Migration disable_ddl_transaction! def up add_index :bacon_transitions, %i[bacon_id most_recent], unique: true, name: "index_bacon_transitions_parent_most_recent", algorithm: :concurrently end def down remove_index :bacon_transitions, name: "index_bacon_transitions_parent_most_recent" end end
Version data entries
13 entries across 13 versions & 1 rubygems