Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / integration / app / db / migrate / 001_create_users.rb
diff --git a/vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/001_create_users.rb b/vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/001_create_users.rb
new file mode 100644 (file)
index 0000000..de09756
--- /dev/null
@@ -0,0 +1,16 @@
+class CreateUsers < ActiveRecord::Migration
+  def self.up
+    create_table "users", :force => true do |t|
+      t.string   "login",                       :limit => 64, :default => "",        :null => false
+      t.string   "email",                                     :default => "",        :null => false
+      t.string   "crypted_password",            :limit => 64, :default => "",        :null => false
+      t.string   "salt",                        :limit => 64, :default => "",        :null => false
+      t.datetime "created_at"
+      t.datetime "updated_at"
+    end
+  end
+
+  def self.down
+    drop_table :users
+  end
+end