Show More
Commit Description:
fix compiler message...
Commit Description:
fix compiler message add testing database
File last commit:
Show/Diff file:
Action:
db/schema.rb | 280 lines | 8.4 KiB | text/x-ruby | RubyLexer |
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 # encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
jittat
added user settings...
r13 #
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 # Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
jittat
added user settings...
r13 # you'll amass, the slower it'll run and the greater likelihood for issues).
#
fix compiler message...
r621 # It's strongly recommended that you check this file into your version control system.
jittat
added user settings...
r13
fix compiler message...
r621 ActiveRecord::Schema.define(version: 20161031063337) do
jittat
[web] added announcement...
r97
fix compiler message...
r621 create_table "announcements", force: :cascade do |t|
jittat
[web] added announcement...
r97 t.string "author"
asset pipelining for controller specific asset
r576 t.text "body"
jittat
[web] added announcement...
r97 t.boolean "published"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.boolean "frontpage", default: false
t.boolean "contest_only", default: false
jittat
better announcement effects...
r193 t.string "title"
Jittat Fakcharoenphol
styling announcements, added notes
r306 t.string "notes"
jittat
[web] added announcement...
r97 end
jittat
[web] added configurations...
r76
fix compiler message...
r621 create_table "contests", force: :cascade do |t|
Jittat Fakcharoenphol
added contest model
r266 t.string "title"
t.boolean "enabled"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
Jittat Fakcharoenphol
manages problems in contests
r279 t.string "name"
Jittat Fakcharoenphol
added contest model
r266 end
fix compiler message...
r621 create_table "contests_problems", id: false, force: :cascade do |t|
Jittat Fakcharoenphol
created join tables for contests and users and problems
r268 t.integer "contest_id"
t.integer "problem_id"
end
fix compiler message...
r621 create_table "contests_users", id: false, force: :cascade do |t|
Jittat Fakcharoenphol
created join tables for contests and users and problems
r268 t.integer "contest_id"
t.integer "user_id"
end
fix compiler message...
r621 create_table "countries", force: :cascade do |t|
jittat
[web] import from site...
r106 t.string "name"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
jittat
[web] import from site...
r106 end
fix compiler message...
r621 create_table "descriptions", force: :cascade do |t|
asset pipelining for controller specific asset
r576 t.text "body"
jittat
[web] refactor problem description, some styling...
r92 t.boolean "markdowned"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
jittat
[web] refactor problem description, some styling...
r92 end
fix compiler message...
r621 create_table "grader_configurations", force: :cascade do |t|
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 t.string "key"
t.string "value_type"
t.string "value"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
asset pipelining for controller specific asset
r576 t.text "description"
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 end
fix compiler message...
r621 create_table "grader_processes", force: :cascade do |t|
lengthen host field in grader_process
r602 t.string "host"
jittat
added contest.name to html title...
r142 t.integer "pid"
jittat
started grader_process...
r29 t.string "mode"
t.boolean "active"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
jittat
added contest.name to html title...
r142 t.integer "task_id"
jittat
[web] updated grader monitoring...
r105 t.string "task_type"
jittat
updated grader list page...
r175 t.boolean "terminated"
jittat
started grader_process...
r29 end
fix compiler message...
r621 add_index "grader_processes", ["host", "pid"], name: "index_grader_processes_on_ip_and_pid"
jittat
added user settings...
r13
fix compiler message...
r621 create_table "heart_beats", force: :cascade do |t|
add heart_beat...
r540 t.integer "user_id"
t.string "ip_address"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
more heart beat feature...
r541 t.string "status"
add heart_beat...
r540 end
fix compiler message...
r621 add_index "heart_beats", ["updated_at"], name: "index_heart_beats_on_updated_at"
add config for heartbeat response...
r545
fix compiler message...
r621 create_table "languages", force: :cascade do |t|
t.string "name", limit: 10
jittat
added user settings...
r13 t.string "pretty_name"
fix compiler message...
r621 t.string "ext", limit: 10
jittat
added language identification using file extension...
r166 t.string "common_ext"
jittat
added user settings...
r13 end
fix compiler message...
r621 create_table "logins", force: :cascade do |t|
fix logins user_id from string to integer
r504 t.integer "user_id"
add login stat
r410 t.string "ip_address"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
add login stat
r410 end
fix compiler message...
r621 create_table "messages", force: :cascade do |t|
jittat
added contest.name to html title...
r142 t.integer "sender_id"
t.integer "receiver_id"
t.integer "replying_message_id"
asset pipelining for controller specific asset
r576 t.text "body"
jittat
[web] added message feature...
r102 t.boolean "replied"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
jittat
[web] added message feature...
r102 end
fix compiler message...
r621 create_table "problems", force: :cascade do |t|
t.string "name", limit: 30
add login stat
r410 t.string "full_name"
t.integer "full_score"
t.date "date_added"
t.boolean "available"
t.string "url"
t.integer "description_id"
t.boolean "test_allowed"
t.boolean "output_only"
t.string "description_filename"
jittat
added user settings...
r13 end
fix compiler message...
r621 create_table "rights", force: :cascade do |t|
jittat
added user settings...
r13 t.string "name"
t.string "controller"
t.string "action"
end
fix compiler message...
r621 create_table "rights_roles", id: false, force: :cascade do |t|
jittat
added contest.name to html title...
r142 t.integer "right_id"
t.integer "role_id"
jittat
added user settings...
r13 end
fix compiler message...
r621 add_index "rights_roles", ["role_id"], name: "index_rights_roles_on_role_id"
jittat
added user settings...
r13
fix compiler message...
r621 create_table "roles", force: :cascade do |t|
jittat
added user settings...
r13 t.string "name"
end
fix compiler message...
r621 create_table "roles_users", id: false, force: :cascade do |t|
jittat
added contest.name to html title...
r142 t.integer "role_id"
t.integer "user_id"
jittat
added user settings...
r13 end
fix compiler message...
r621 add_index "roles_users", ["user_id"], name: "index_roles_users_on_user_id"
jittat
added user settings...
r13
fix compiler message...
r621 create_table "sessions", force: :cascade do |t|
jittat
added user settings...
r13 t.string "session_id"
asset pipelining for controller specific asset
r576 t.text "data"
jittat
added user settings...
r13 t.datetime "updated_at"
end
fix compiler message...
r621 add_index "sessions", ["session_id"], name: "index_sessions_on_session_id"
add_index "sessions", ["updated_at"], name: "index_sessions_on_updated_at"
jittat
added user settings...
r13
fix compiler message...
r621 create_table "sites", force: :cascade do |t|
jittat
[web] added site and time out basic functionality...
r85 t.string "name"
t.boolean "started"
t.datetime "start_time"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
jittat
added contest.name to html title...
r142 t.integer "country_id"
jittat
[web] import from site...
r106 t.string "password"
jittat
[web] added site and time out basic functionality...
r85 end
fix compiler message...
r621 create_table "submission_view_logs", force: :cascade do |t|
NOT WORKING...
r528 t.integer "user_id"
t.integer "submission_id"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
NOT WORKING...
r528 end
fix compiler message...
r621 create_table "submissions", force: :cascade do |t|
jittat
added contest.name to html title...
r142 t.integer "user_id"
t.integer "problem_id"
t.integer "language_id"
asset pipelining for controller specific asset
r576 t.text "source"
jittat
added user settings...
r13 t.binary "binary"
t.datetime "submitted_at"
t.datetime "compiled_at"
asset pipelining for controller specific asset
r576 t.text "compiler_message"
jittat
added user settings...
r13 t.datetime "graded_at"
jittat
added contest.name to html title...
r142 t.integer "points"
asset pipelining for controller specific asset
r576 t.text "grader_comment"
jittat
added contest.name to html title...
r142 t.integer "number"
jittat
[web] added support for output only problems...
r99 t.string "source_filename"
add ip to submission
r446 t.float "max_runtime"
t.integer "peak_memory"
t.integer "effective_code_length"
t.string "ip_address"
jittat
added user settings...
r13 end
fix compiler message...
r621 add_index "submissions", ["user_id", "problem_id", "number"], name: "index_submissions_on_user_id_and_problem_id_and_number", unique: true
add_index "submissions", ["user_id", "problem_id"], name: "index_submissions_on_user_id_and_problem_id"
jittat
added user settings...
r13
fix compiler message...
r621 create_table "tasks", force: :cascade do |t|
jittat
added contest.name to html title...
r142 t.integer "submission_id"
jittat
added user settings...
r13 t.datetime "created_at"
jittat
added contest.name to html title...
r142 t.integer "status"
jittat
add some lock in task...
r30 t.datetime "updated_at"
jittat
added user settings...
r13 end
fix compiler message...
r621 create_table "test_pairs", force: :cascade do |t|
Jittat Fakcharoenphol
added test_pair model
r209 t.integer "problem_id"
fix compiler message...
r621 t.text "input", limit: 16777215
t.text "solution", limit: 16777215
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
Jittat Fakcharoenphol
added test_pair model
r209 end
fix compiler message...
r621 create_table "test_requests", force: :cascade do |t|
jittat
added contest.name to html title...
r142 t.integer "user_id"
t.integer "problem_id"
t.integer "submission_id"
jittat
test interface upload...
r36 t.string "input_file_name"
t.string "output_file_name"
t.string "running_stat"
jittat
added contest.name to html title...
r142 t.integer "status"
fix compiler message...
r621 t.datetime "updated_at", null: false
jittat
test interface upload...
r36 t.datetime "submitted_at"
t.datetime "compiled_at"
asset pipelining for controller specific asset
r576 t.text "compiler_message"
jittat
test interface upload...
r36 t.datetime "graded_at"
t.string "grader_comment"
fix compiler message...
r621 t.datetime "created_at", null: false
jittat
[web] changed column type for running_time in test_requests, display new stat info...
r82 t.float "running_time"
jittat
[web] added runstat columns to test_request...
r81 t.string "exit_status"
jittat
added contest.name to html title...
r142 t.integer "memory_usage"
jittat
test interface upload...
r36 end
fix compiler message...
r621 add_index "test_requests", ["user_id", "problem_id"], name: "index_test_requests_on_user_id_and_problem_id"
jittat
test interface upload...
r36
fix compiler message...
r621 create_table "testcases", force: :cascade do |t|
- start adding testcases into database...
r607 t.integer "problem_id"
t.integer "num"
t.integer "group"
t.integer "score"
t.text "input"
t.text "sol"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
- start adding testcases into database...
r607 end
fix compiler message...
r621 add_index "testcases", ["problem_id"], name: "index_testcases_on_problem_id"
- start adding testcases into database...
r607
fix compiler message...
r621 create_table "user_contest_stats", force: :cascade do |t|
Jittat Fakcharoenphol
added individual contest mode
r217 t.integer "user_id"
t.datetime "started_at"
fix compiler message...
r621 t.datetime "created_at", null: false
t.datetime "updated_at", null: false
Jittat Fakcharoenphol
a cleaner, testable way to log out user after contest changed
r295 t.boolean "forced_logout"
Jittat Fakcharoenphol
added individual contest mode
r217 end
fix compiler message...
r621 create_table "users", force: :cascade do |t|
t.string "login", limit: 50
jittat
Merged online-registration branch changes r297:303 into the trunk...
r158 t.string "full_name"
t.string "hashed_password"
fix compiler message...
r621 t.string "salt", limit: 5
jittat
Merged online-registration branch changes r297:303 into the trunk...
r158 t.string "alias"
t.string "email"
t.integer "site_id"
t.integer "country_id"
fix compiler message...
r621 t.boolean "activated", default: false
jittat
Merged online-registration branch changes r297:303 into the trunk...
r158 t.datetime "created_at"
t.datetime "updated_at"
fix compiler message...
r621 t.boolean "enabled", default: true
add remark and enable for user
r476 t.string "remark"
add submission view loggin
r529 t.string "last_ip"
keep all heartbeat instead of only the latest one
r537 t.string "section"
jittat
added user settings...
r13 end
fix compiler message...
r621 add_index "users", ["login"], name: "index_users_on_login", unique: true
jittat
added user settings...
r13
end