bigdir/db/migrate/052_add_changes_revision.rb

10 lines
180 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddChangesRevision < ActiveRecord::Migration
def self.up
add_column :changes, :revision, :string
end
def self.down
remove_column :changes, :revision
end
end