bigdir/db/migrate/092_change_changes_from_rev...

10 lines
218 B
Ruby

class ChangeChangesFromRevisionToString < ActiveRecord::Migration
def self.up
change_column :changes, :from_revision, :string
end
def self.down
change_column :changes, :from_revision, :integer
end
end