Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / integration / app / db / migrate / 009_create_citations_items.rb
1 class CreateCitationsItems < ActiveRecord::Migration
2   def self.up
3     create_table :citations_items do |t|
4       t.integer :citation_id, :null => false
5       t.integer :item_id, :null => false
6       t.string :item_type, :null => false
7       t.timestamps 
8     end
9   end
10
11   def self.down
12     drop_table :citations_items
13   end
14 end