summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-06-23 22:57:12 -0600
committermo khan <mo@mokhan.ca>2013-06-23 22:57:12 -0600
commitb0e372411db045cc433dab7473d38a62c5afd49c (patch)
treec6466befec6b2c566a5ded79a7dc26fbbbd36368
parentd42c029d468ce13c0d8cdfc439fd7fe4c708a53b (diff)
drop resources table
-rw-r--r--db/migrate/20130624045542_drop_resources_table.rb5
-rw-r--r--db/schema.rb10
2 files changed, 6 insertions, 9 deletions
diff --git a/db/migrate/20130624045542_drop_resources_table.rb b/db/migrate/20130624045542_drop_resources_table.rb
new file mode 100644
index 0000000..94be5d9
--- /dev/null
+++ b/db/migrate/20130624045542_drop_resources_table.rb
@@ -0,0 +1,5 @@
+class DropResourcesTable < ActiveRecord::Migration
+ def change
+ drop_table :resources
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 8c001f9..0fa3137 100644
--- a/db/schema.rb
+++ b/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"