# HG changeset patch # User Edho Arief # Date 1367938823 -32400 # Node ID 8d465a93fcb44ed35ab781c1b0dc291f933d0df7 # Parent cb30b72e8ded5da366d9d0f530da4b3d6128f953 Update the schema, too (with p.much nothing). diff -r cb30b72e8ded -r 8d465a93fcb4 db/schema.rb --- a/db/schema.rb Tue May 07 23:59:17 2013 +0900 +++ b/db/schema.rb Wed May 08 00:00:23 2013 +0900 @@ -9,19 +9,19 @@ # 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. +# It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(:version => 20130201150322) do +ActiveRecord::Schema.define(version: 20130201150322) do - create_table "pastes", :force => true do |t| - t.string "ip", :limit => 50, :null => false - t.text "paste", :null => false - t.string "paste_hash", :limit => 150, :null => false - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + create_table "pastes", force: true do |t| + t.string "ip", limit: 50, null: false + t.text "paste", null: false + t.string "paste_hash", limit: 150, null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false t.string "key" end - add_index "pastes", ["ip", "paste_hash"], :name => "index_pastes_on_ip_and_hash", :unique => true + add_index "pastes", ["ip", "paste_hash"], name: "index_pastes_on_ip_and_hash", unique: true, using: :btree end