Mercurial > hg > soundsoftware-site
view plugins/redmine_bibliography/db/migrate/004_create_bibtex_entries.rb @ 1524:82fac3dcf466 redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 11 Sep 2014 10:24:38 +0100 |
parents | b4b72f1eb644 |
children |
line wrap: on
line source
class CreateBibtexEntries < ActiveRecord::Migration def self.up create_table :bibtex_entries do |t| t.column :publication_id, :integer t.column :entry_type, :integer t.column :address, :string t.column :annote, :string t.column :booktitle, :string t.column :chapter, :string t.column :crossref, :string t.column :edition, :string t.column :editor, :string t.column :eprint, :string t.column :howpublished, :string t.column :journal, :string t.column :key, :string t.column :month, :string t.column :note, :text t.column :number, :string t.column :organization, :string t.column :pages, :string t.column :publisher, :string t.column :school, :string t.column :series, :string t.column :type, :string t.column :url, :string t.column :volume, :integer t.column :year, :integer end end def self.down drop_table :bibtex_entries end end