spec/dummy/db/schema.rb in hatchy-0.0.7.pre vs spec/dummy/db/schema.rb in hatchy-0.0.8.pre

- old
+ new

@@ -9,11 +9,11 @@ # 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 that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160111181655) do +ActiveRecord::Schema.define(version: 20160123012002) do create_table "hatchy_announcements", force: :cascade do |t| t.text "message", limit: 80, null: false t.datetime "starts_at", null: false t.datetime "ends_at", null: false @@ -120,9 +120,21 @@ t.datetime "updated_at" end add_index "hatchy_project_accounts", ["bank_id"], name: "index_hatchy_project_accounts_on_bank_id" add_index "hatchy_project_accounts", ["project_id"], name: "index_hatchy_project_accounts_on_project_id" + + create_table "hatchy_project_posts", force: :cascade do |t| + t.integer "user_id" + t.integer "project_id" + t.boolean "private", default: false + t.text "title" + t.text "content" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + add_index "hatchy_project_posts", ["user_id", "project_id"], name: "index_hatchy_project_posts_on_user_id_and_project_id" create_table "hatchy_projects", force: :cascade do |t| t.integer "user_id" t.integer "category_id" t.string "project_img"