To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / vendor / plugins / redmine_bibliography / db / migrate / 004_create_bibtex_entries.rb @ 402:ef8a9bc67e15
History | View | Annotate | Download (1001 Bytes)
| 1 | 392:b97577523b0c | luis | class CreateBibtexEntries < ActiveRecord::Migration |
|---|---|---|---|
| 2 | def self.up |
||
| 3 | create_table :bibtex_entries do |t| |
||
| 4 | 402:ef8a9bc67e15 | luis | t.column :publication_id, :integer |
| 5 | 392:b97577523b0c | luis | t.column :entry_type, :string |
| 6 | t.column :address, :string |
||
| 7 | t.column :annote, :string |
||
| 8 | t.column :booktitle, :string |
||
| 9 | t.column :chapter, :string |
||
| 10 | t.column :crossref, :string |
||
| 11 | t.column :edition, :string |
||
| 12 | t.column :editor, :string |
||
| 13 | t.column :eprint, :string |
||
| 14 | t.column :howpublished, :string |
||
| 15 | t.column :journal, :string |
||
| 16 | t.column :key, :string |
||
| 17 | t.column :month, :string |
||
| 18 | t.column :note, :text |
||
| 19 | t.column :number, :string |
||
| 20 | t.column :organization, :string |
||
| 21 | t.column :pages, :string |
||
| 22 | t.column :publisher, :string |
||
| 23 | t.column :school, :string |
||
| 24 | t.column :series, :string |
||
| 25 | t.column :type, :string |
||
| 26 | t.column :url, :string |
||
| 27 | t.column :volume, :integer |
||
| 28 | t.column :year, :integer |
||
| 29 | end
|
||
| 30 | end
|
||
| 31 | |||
| 32 | def self.down |
||
| 33 | drop_table :bibtex_entries
|
||
| 34 | end
|
||
| 35 | end |