Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / integration / app / db / migrate / 004_create_states.rb
diff --git a/vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/004_create_states.rb b/vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/004_create_states.rb
new file mode 100644 (file)
index 0000000..797e6f7
--- /dev/null
@@ -0,0 +1,12 @@
+class CreateStates < ActiveRecord::Migration
+  def self.up
+    create_table "states", :force => true do |t|
+      t.string "name",         :default => "", :null => false
+      t.string "abbreviation", :default => "", :null => false
+    end
+  end
+
+  def self.down
+    drop_table "states"
+  end
+end