view vendor/plugins/redmine_bibliography/db/migrate/002_create_publications.rb @ 1215:2101a7c906b3 cannam

Fix failure to truncate long descriptions without carriage returns in them correctly
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 12 Mar 2013 10:29:50 +0000
parents cd3158bf28b5
children
line wrap: on
line source
class CreatePublications < ActiveRecord::Migration
  def self.up
    create_table :publications do |t|
      t.column :title, :string
      t.column :reviewed, :boolean, :default => false
    end
  end

  def self.down
    drop_table :publications
  end
end