lib/db/schema.rb in hubbub-0.0.9 vs lib/db/schema.rb in hubbub-0.0.10

- old
+ new

@@ -7,11 +7,11 @@ # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20091229164415) do +ActiveRecord::Schema.define(:version => 20100104224344) do create_table "articles", :force => true do |t| t.string "title" t.string "title_slug" t.text "body" @@ -21,9 +21,18 @@ t.datetime "updated_at" end add_index "articles", ["title_slug"], :name => "index_articles_on_title_slug" add_index "articles", ["user_id"], :name => "index_articles_on_user_id" + + create_table "comments", :force => true do |t| + t.text "body" + t.integer "article_id" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "comments", ["article_id"], :name => "index_comments_on_article_id" create_table "logins", :force => true do |t| t.string "openid_identifier" t.datetime "created_at" t.datetime "updated_at"