view vendor/plugins/redmine_bibliography/db/migrate/002_create_publications.rb @ 393:9595ab4cac6b feature_36

DEV Commit: more logic to the publication controller; bibtexentry model, fixtures, test
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 11 Apr 2011 13:31:17 +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