Mercurial > zeropaste
diff db/schema.rb @ 207:ee7829c7c2a2
Prepare for private pastes.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sat, 11 May 2013 22:37:31 +0900 |
parents | 8d465a93fcb4 |
children | 0f9f29274663 |
line wrap: on
line diff
--- a/db/schema.rb Wed May 08 01:26:28 2013 +0900 +++ b/db/schema.rb Sat May 11 22:37:31 2013 +0900 @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20130201150322) do +ActiveRecord::Schema.define(version: 20130511133450) do create_table "pastes", force: true do |t| t.string "ip", limit: 50, null: false @@ -20,6 +20,7 @@ t.datetime "created_at", null: false t.datetime "updated_at", null: false t.string "key" + t.string "secret" end add_index "pastes", ["ip", "paste_hash"], name: "index_pastes_on_ip_and_hash", unique: true, using: :btree