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