diff --git a/db/schema.rb b/db/schema.rb index 4c310d3..e9443cb 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: 20150630180257) do +ActiveRecord::Schema.define(version: 20150630170119) do create_table "matches", force: :cascade do |t| t.integer "w1" @@ -37,7 +37,7 @@ ActiveRecord::Schema.define(version: 20150630180257) do add_index "matches", ["mat_id"], name: "index_matches_on_mat_id" add_index "matches", ["tournament_id"], name: "index_matches_on_tournament_id" - add_index "matches", ["w1", "w2"], name: "index_matches_on_w1_and_w2", unique: true + add_index "matches", ["w1", "w2"], name: "index_matches_on_w1_and_w2" create_table "mats", force: :cascade do |t| t.string "name" @@ -68,8 +68,6 @@ ActiveRecord::Schema.define(version: 20150630180257) do t.text "weigh_in_ref" end - add_index "tournaments", ["weigh_in_ref"], name: "index_tournaments_on_weigh_in_ref" - create_table "users", force: :cascade do |t| t.string "email", default: "", null: false t.string "encrypted_password", default: "", null: false @@ -112,7 +110,6 @@ ActiveRecord::Schema.define(version: 20150630180257) do t.decimal "offical_weight" end - add_index "wrestlers", ["offical_weight"], name: "index_wrestlers_on_offical_weight" add_index "wrestlers", ["weight_id"], name: "index_wrestlers_on_weight_id" end diff --git a/tmux.sh b/tmux.sh new file mode 100755 index 0000000..d8b8905 --- /dev/null +++ b/tmux.sh @@ -0,0 +1,9 @@ +#!/bin/bash +CURRENT_SESSION=${PWD##*/} +tmux new-session -d -s $CURRENT_SESSION +tmux send-keys 'vim' 'C-m' +tmux rename-window vim +tmux new-window +tmux rename-window server +tmux select-window -t 0 +tmux attach -t $CURRENT_SESSION