Commit b0e3724

mo khan <mo@mokhan.ca>
2013-06-24 04:57:12
drop resources table
1 parent d42c029
db/migrate/20130624045542_drop_resources_table.rb
@@ -0,0 +1,5 @@
+class DropResourcesTable < ActiveRecord::Migration
+  def change
+    drop_table :resources
+  end
+end
db/schema.rb
@@ -11,7 +11,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20130624022039) do
+ActiveRecord::Schema.define(:version => 20130624045542) do
 
   create_table "active_admin_comments", :force => true do |t|
     t.string   "resource_id",   :null => false
@@ -73,14 +73,6 @@ ActiveRecord::Schema.define(:version => 20130624022039) do
     t.datetime "updated_at", :null => false
   end
 
-  create_table "resources", :force => true do |t|
-    t.string   "title"
-    t.string   "link"
-    t.string   "description"
-    t.datetime "created_at",  :null => false
-    t.datetime "updated_at",  :null => false
-  end
-
   create_table "taggings", :force => true do |t|
     t.integer  "tag_id"
     t.integer  "taggable_id"