Revision 402:ef8a9bc67e15 vendor
| vendor/plugins/redmine_bibliography/db/migrate/002_create_publications.rb | ||
|---|---|---|
| 2 | 2 |
def self.up |
| 3 | 3 |
create_table :publications do |t| |
| 4 | 4 |
t.column :title, :string |
| 5 |
t.column :bibtex_entry_id, :string |
|
| 6 | 5 |
end |
| 7 | 6 |
end |
| 8 | 7 |
|
| vendor/plugins/redmine_bibliography/db/migrate/004_create_bibtex_entries.rb | ||
|---|---|---|
| 1 | 1 |
class CreateBibtexEntries < ActiveRecord::Migration |
| 2 | 2 |
def self.up |
| 3 | 3 |
create_table :bibtex_entries do |t| |
| 4 |
t.column :publication_id, :integer |
|
| 4 | 5 |
t.column :entry_type, :string |
| 5 | 6 |
t.column :address, :string |
| 6 | 7 |
t.column :annote, :string |
Also available in: Unified diff