bigdir/db/migrate/053_add_changes_branch.rb

10 lines
174 B
Ruby

class AddChangesBranch < ActiveRecord::Migration
def self.up
add_column :changes, :branch, :string
end
def self.down
remove_column :changes, :branch
end
end