# HG changeset patch # User luisf # Date 1307977975 -3600 # Node ID 2daa350e1da267a4774a566f0bb792c0cf926f3a # Parent 34a6cf259682b4dc223ce876ae49e5c86928d706 projects - publications relationship migration diff -r 34a6cf259682 -r 2daa350e1da2 vendor/plugins/redmine_bibliography/db/migrate/005_create_projects_publications_join_table.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/plugins/redmine_bibliography/db/migrate/005_create_projects_publications_join_table.rb Mon Jun 13 16:12:55 2011 +0100 @@ -0,0 +1,12 @@ +class CreateProjectsPublicationsJoinTable < ActiveRecord::Migration + def self.up + create_table :projects_publications, :id => false do |t| + t.integer :project_id + t.integer :publication_id + end + end + + def self.down + drop_table :projects_publications + end +end \ No newline at end of file