summaryrefslogtreecommitdiffstats
path: root/db/migrate/20110228000000_add_repositories_log_encoding.rb
blob: 85cadafce97711d9aeddb454925b0cb52b9a0517 (plain)
1
2
3
4
5
6
7
8
9
class AddRepositoriesLogEncoding < ActiveRecord::Migration
  def self.up
    add_column :repositories, :log_encoding, :string, :limit => 64, :default => nil
  end

  def self.down
    remove_column :repositories, :log_encoding
  end
end