Sha256: fcd898c600efc564a745a8b8276ad378c8c76040edea5c22e2f9dc3e217e6f4c

Contents?: true

Size: 365 Bytes

Versions: 30

Compression:

Stored size: 365 Bytes

Contents

class AddGuids < ActiveRecord::Migration
  def self.up
    STDERR.puts "Adding GUIDs to Comments and Trackbacks"

    modify_tables_and_update([:add_column, :comments,   :guid, :string],
                             [:add_column, :trackbacks, :guid, :string])
  end

  def self.down
    remove_column :comments, :guid
    remove_column :trackbacks, :guid
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
typo-5.5 db/migrate/018_add_guids.rb
typo-5.4.4 db/migrate/018_add_guids.rb
typo-5.4.3 db/migrate/018_add_guids.rb
typo-5.4.2 db/migrate/018_add_guids.rb
typo-5.4.1 db/migrate/018_add_guids.rb
typo-5.4 db/migrate/018_add_guids.rb
typo-3.99.0 db/migrate/018_add_guids.rb
typo-3.99.1 db/migrate/018_add_guids.rb
typo-3.99.3 db/migrate/018_add_guids.rb
typo-3.99.2 db/migrate/018_add_guids.rb
typo-4.0.2 db/migrate/018_add_guids.rb
typo-4.0.0 db/migrate/018_add_guids.rb
typo-3.99.4 db/migrate/018_add_guids.rb
typo-4.0.1 db/migrate/018_add_guids.rb
typo-4.0.3 db/migrate/018_add_guids.rb
typo-4.1.1 db/migrate/018_add_guids.rb
typo-5.0.1 db/migrate/018_add_guids.rb
typo-5.0.2 db/migrate/018_add_guids.rb
typo-4.1 db/migrate/018_add_guids.rb
typo-5.0.3.98.1 db/migrate/018_add_guids.rb