Skip to content
Browse files

fucking migrations

  • Loading branch information...
1 parent 464deb8 commit 13f010dc38f46d074abdf964e82e33b36d2e5e24 Kevin Quinn committed
Showing with 11 additions and 1 deletion.
  1. +9 −0 db/migrate/20110713013644_add_content_to_stories.rb
  2. +2 −1 db/schema.rb
View
9 db/migrate/20110713013644_add_content_to_stories.rb
@@ -0,0 +1,9 @@
+class AddContentToStories < ActiveRecord::Migration
+ def self.up
+ add_column :stories, :content, :text
+ end
+
+ def self.down
+ drop_column :stories, :content, :text
+ end
+end
View
3 db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20110713005003) do
+ActiveRecord::Schema.define(:version => 20110713013644) do
create_table "places", :force => true do |t|
t.float "lat"
@@ -28,6 +28,7 @@
t.datetime "created_at"
t.datetime "updated_at"
t.integer "place_id"
+ t.text "content"
end
create_table "users", :force => true do |t|

0 comments on commit 13f010d

Please sign in to comment.
Something went wrong with that request. Please try again.