Thuleando/Login-Authenticator — pull request #2 by Thuleando (2014-11-12 23:42:46+00:00)
Title: Defaults and Foreign Key

Added default values for
ACCOUNTS:
WhenCreated (default: CURRENT_TIMESTAMP)UnlockDate (default:
CURRENT_TIMESTAMP)
LockDate (default: NULL)

SESSIONS:
WhenInitiated (default: CURRENT_TIMESTAMP)
WhenTerminated (default: NULL)

LOGINATTEMPTS:
WhenAttempted (default: CURRENT_TIMESTAMP)
WasSuccessful (default: 'N')

Also, changed the AccountsID FK's to Accounts_ID and updated all
references to those FK's in the Procedure.