Changes

Jump to navigation Jump to search
170 bytes added ,  22:02, 16 April 2016
Is CPI necessary??
 
Use this syntax to dump a database:
pg_dump dbname > outfile
 
Restoring a database:
psql dbname < infile
Sources:
[https://en.wikipedia.org/wiki/NHL_salary_cap#Trades_and_salary_retention]
[https://www.reddit.com/r/hockey/wiki/contracts#wiki_entry_level_contracts_.28elc.29_and_elc_slides]
==Variables==
*We have contract type declared as Standard or NULL then:
**Age based choices:
**If age >=27 & <35 and new contract then UFA
**If age > 35 and new contract then TFP
**If Age is <=21 and length is 3 then Entry Level
**If Age is <25 and he doesn't have the right length then RFA
**If age > 25 <= 27 then RFA
**If age >=27 & <35 and new contract then UFA
**If age >35 and new contract then TFP
*If contract type is Standard and Exp Status is RFA then RFA
*If the player has a previous contract, use its expiry status, irrespective of whether type is Standard or NULL
Anonymous user

Navigation menu