Mercurial > hg > soundsoftware-site
diff vendor/plugins/redmine_bibliography/db/migrate/002_create_publications.rb @ 328:aed18b463206 feature_36
Created the "author", "publication" and "authorship" models and controllers.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 29 Mar 2011 14:33:32 +0100 |
parents | |
children | ef8a9bc67e15 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/plugins/redmine_bibliography/db/migrate/002_create_publications.rb Tue Mar 29 14:33:32 2011 +0100 @@ -0,0 +1,12 @@ +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