view db/migrate/20110228000000_add_repositories_log_encoding.rb @ 705:b6f9f005c0b6 feature_36

Fixes Bug #298 - on the New View now toggles the new authorship fields.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Sep 2011 17:28:32 +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