Permalink
Browse files

wack property_type topic_id column

  • Loading branch information...
jdwyah committed May 22, 2009
1 parent d9207c8 commit 938ac7ed9ae296a51d93e8e802b5ebecaf3adb10
Showing with 10 additions and 2 deletions.
  1. +9 −0 db/migrate/20090522165628_wack_property_type_topic_field.rb
  2. +1 −2 db/schema.rb
@@ -0,0 +1,9 @@
+class WackPropertyTypeTopicField < ActiveRecord::Migration
+ def self.up
+ remove_column :property_types, :topic_id
+ end
+
+ def self.down
+ add_column :property_types, :topic_id, :integer
+ end
+end
View
@@ -9,7 +9,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20090522131220) do
+ActiveRecord::Schema.define(:version => 20090522165628) do
create_table "occurrences", :force => true do |t|
t.string "name"
@@ -42,7 +42,6 @@
end
create_table "property_types", :force => true do |t|
- t.integer "topic_id"
t.string "name"
t.string "type_name"
t.datetime "created_at"

0 comments on commit 938ac7e

Please sign in to comment.