Mercurial > zeropaste
diff db/schema.rb @ 417:080dd141898c
Add support for explicit highlighter languages
author | nanaya <me@myconan.net> |
---|---|
date | Mon, 14 Sep 2015 14:50:35 +0900 |
parents | 0f9f29274663 |
children | e34e0de34b65 |
line wrap: on
line diff
--- a/db/schema.rb Mon Sep 14 14:48:36 2015 +0900 +++ b/db/schema.rb Mon Sep 14 14:50:35 2015 +0900 @@ -11,9 +11,9 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20130512032335) do +ActiveRecord::Schema.define(version: 20150914054154) do - create_table "pastes", force: true do |t| + create_table "pastes", force: :cascade do |t| t.string "ip", limit: 50, null: false t.text "paste", null: false t.string "paste_hash", limit: 150, null: false @@ -21,6 +21,7 @@ t.datetime "updated_at", null: false t.string "key" t.string "secret" + t.string "language" end add_index "pastes", ["ip", "paste_hash"], name: "index_pastes_on_ip_and_hash", unique: true, using: :btree