view vendor/plugins/redmine_bibliography/db/migrate/002_create_publications.rb @ 390:5562a95edbf7 feature_36

DEV commit - problems in the create action;
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 07 Apr 2011 17:11:14 +0100
parents aed18b463206
children ef8a9bc67e15
line wrap: on
line source
class CreatePublications < ActiveRecord::Migration
  def self.up
    create_table :publications do |t|
      t.column :title, :string
      t.column :bibtex_entry_id, :string
    end
  end

  def self.down
    drop_table :publications
  end
end