view db/migrate/094_change_projects_homepage_limit.rb @ 1579:aba122ac2d40 dockerise

Attempt (currently failing) to fix up the bibliography plugin for current version of citeproc
author Chris Cannam
date Fri, 04 Aug 2017 17:51:19 +0100
parents 513646585e45
children
line wrap: on
line source
class ChangeProjectsHomepageLimit < ActiveRecord::Migration
  def self.up
    change_column :projects, :homepage, :string, :limit => nil, :default => ''
  end

  def self.down
    change_column :projects, :homepage, :string, :limit => 60, :default => ''
  end
end