diff options
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/db/schema.rb b/db/schema.rb index f60b7ab..d84c0ee 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160101121151) do +ActiveRecord::Schema.define(version: 20160111074143) do create_table "compilers", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t| t.string "language", limit: 64, null: false @@ -23,12 +23,14 @@ ActiveRecord::Schema.define(version: 20160101121151) do end create_table "results", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t| - t.integer "snippet_id", null: false - t.integer "compiler_id", null: false - t.binary "output", limit: 65535, null: false - t.datetime "created_at", null: false - t.integer "result", null: false - t.integer "status", null: false + t.integer "snippet_id", null: false + t.integer "compiler_id", null: false + t.binary "output", limit: 65535, null: false + t.datetime "created_at", null: false + t.integer "result", null: false + t.integer "status", null: false + t.string "error" + t.boolean "truncated", default: false, null: false t.index ["compiler_id"], name: "index_results_on_compiler_id", using: :btree t.index ["snippet_id", "compiler_id"], name: "index_results_on_snippet_id_and_compiler_id", unique: true, using: :btree t.index ["snippet_id"], name: "index_results_on_snippet_id", using: :btree |