Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / integration / app / db / migrate / 002_create_sellers.rb
diff --git a/vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/002_create_sellers.rb b/vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/002_create_sellers.rb
new file mode 100644 (file)
index 0000000..ecb077f
--- /dev/null
@@ -0,0 +1,14 @@
+class CreateSellers < ActiveRecord::Migration
+  def self.up
+    create_table "sellers", :force => true do |t|
+      t.integer  "user_id",                                                       :null => false
+      t.string   "company_name"
+      t.datetime "created_at"
+      t.datetime "updated_at"
+    end
+  end
+
+  def self.down
+    drop_table :sellers
+  end
+end