view db/migrate/20110228000000_add_repositories_log_encoding.rb @ 1406:20235e6c60c0 biblio_alt_search_auth

Correctly deleting publications.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 30 Sep 2013 18:29:35 +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