Sha256: 60f8e9d25c5f4858551d54039ce8d7c8492bc4ceb235065973fa32e32dd5fdc8
Contents?: true
Size: 406 Bytes
Versions: 6
Compression:
Stored size: 406 Bytes
Contents
class RenameBaseToSource < ActiveRecord::Migration def self.up rename_column :adjustments, :adjustment_base_id, :adjustment_source_id rename_column :adjustments, :adjustment_base_type, :adjustment_source_type end def self.down rename_column :adjustments, :adjustment_source_id, :adjustment_base_id rename_column :adjustments, :adjustment_source_type, :adjustment_base_type end end
Version data entries
6 entries across 6 versions & 2 rubygems