bigdir/db/migrate/052_add_changes_revision.rb

10 lines
180 B
Ruby

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