view db/migrate/20110228000000_add_repositories_log_encoding.rb @ 1482:d4a266e7f316 issue_546

Close obsolete branch issue_546
author Chris Cannam
date Wed, 21 Nov 2012 10:33:11 +0000
parents 051f544170fe
children
line wrap: on
line source
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