view .svn/pristine/b7/b79e266e4acd3c5400f7b2a9ec13bc6b7730bf4f.svn-base @ 1366:7e85f7988ab8 luisf

Fixes another possible cause for Bug #658 - was not saving publication when author was new...
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Aug 2013 16:23:24 +0100
parents 038ba2d95de8
children
line wrap: on
line source
class ChangeUsersLoginLimit < ActiveRecord::Migration
  def self.up
    change_column :users, :login, :string, :limit => nil, :default => '', :null => false
  end

  def self.down
    change_column :users, :login, :string, :limit => 30, :default => '', :null => false
  end
end