Sha256: 4e8c4397a7f28520a297d0bda5828d8fb918520323fca3c537687c02f640cfb0

Contents?: true

Size: 407 Bytes

Versions: 4

Compression:

Stored size: 407 Bytes

Contents

# -*- encoding : utf-8 -*-

class TrunkLeft < Cardio::Migration::Schema
  def up
    rename_column :card_references, :link_type, :ref_type
    rename_column :cards, :tag_id, :right_id
    rename_column :cards, :trunk_id, :left_id
  end

  def down
    rename_column :card_references, :ref_type, :link_type
    rename_column :cards, :right_id, :tag_id
    rename_column :cards, :left_id, :trunk_id
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
card-1.108.1 mod/core/data/schema/20130109015336_trunk_left.rb
card-1.108.0 mod/core/data/schema/20130109015336_trunk_left.rb
card-1.107.0 mod/core/data/schema/20130109015336_trunk_left.rb
card-1.106.0 mod/core/data/schema/20130109015336_trunk_left.rb