summaryrefslogtreecommitdiffstats
path: root/db/migrate/091_change_changesets_revision_to_string.rb
blob: e621a390924027a2b447aebec2760a83405e8ef5 (plain)
1
2
3
4
5
6
7
8
9
class ChangeChangesetsRevisionToString < ActiveRecord::Migration
  def self.up
    change_column :changesets, :revision, :string, :null => false
  end

  def self.down
    change_column :changesets, :revision, :integer, :null => false
  end
end