view db/migrate/20110226120132_change_auth_sources_account_password_limit.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 ChangeAuthSourcesAccountPasswordLimit < ActiveRecord::Migration
  def self.up
    change_column :auth_sources, :account_password, :string, :limit => nil, :default => ''
  end

  def self.down
    change_column :auth_sources, :account_password, :string, :limit => 60, :default => ''
  end
end