Thuleando/Login-Authenticator — pull request #4 by Thuleando (2014-11-21 01:30:17+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.