Sha256: 1237768afd0877e793f494dc0f3f1a3e36fee9e76f41c857c2b53de3c213207b
Contents?: true
Size: 334 Bytes
Versions: 13
Compression:
Stored size: 334 Bytes
Contents
# frozen_string_literal: true 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
13 entries across 13 versions & 1 rubygems