view db/migrate/20110228000000_add_repositories_log_encoding.rb @ 1360:45dbcd39b9e9 live

Merge from branch cannam
author Chris Cannam
date Thu, 18 Jul 2013 12:21:45 +0100
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