bigdir/db/migrate/053_add_changes_branch.rb

10 lines
174 B
Ruby
Raw Normal View History

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