Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fucking migrations

  • Loading branch information...
commit 13f010dc38f46d074abdf964e82e33b36d2e5e24 1 parent 464deb8
Kevin Quinn authored
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|
Please sign in to comment.
Something went wrong with that request. Please try again.