Sha256: 6cf130092d3192e13c85abd29ae8fae853d66de66eb6926b84a0ac097396e6ca
Contents?: true
Size: 304 Bytes
Versions: 6
Compression:
Stored size: 304 Bytes
Contents
class AddChargeSourceToCharge < ActiveRecord::Migration def self.up add_column :charges, :charge_source_id, :integer add_column :charges, :charge_source_type, :string end def self.down remove_column :charges, :charge_source_type remove_column :charges, :charge_source_id end end
Version data entries
6 entries across 6 versions & 2 rubygems