Sha256: 5cf0bf1aa2931de17940b32fc91c3f53e7797402ac5d3c4f20710cb8829d2b2f
Contents?: true
Size: 303 Bytes
Versions: 8
Compression:
Stored size: 303 Bytes
Contents
class AddTransactionIdColumnToVersions < ActiveRecord::Migration[4.2] def self.up add_column :versions, :transaction_id, :integer add_index :versions, [:transaction_id] end def self.down remove_index :versions, [:transaction_id] remove_column :versions, :transaction_id end end
Version data entries
8 entries across 8 versions & 1 rubygems