Commit 134b79f0 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie

Standardised the fields for "keys" that come from e-mails, and also on

"expiry" for things that time out, with regards to authentication.
parent 3fe0990e
......@@ -448,8 +448,8 @@
<FIELD NAME="firstname" TYPE="text" NOTNULL="true"/>
<FIELD NAME="lastname" TYPE="text" NOTNULL="true"/>
<FIELD NAME="email" TYPE="text" NOTNULL="true"/>
<FIELD NAME="regkey" TYPE="char" LENGTH="16" NOTNULL="true"/>
<FIELD NAME="timeregistered" TYPE="datetime" NOTNULL="true"/>
<FIELD NAME="key" TYPE="char" LENGTH="16" NOTNULL="true"/>
<FIELD NAME="expiry" TYPE="datetime" NOTNULL="true"/>
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id" />
......@@ -460,7 +460,7 @@
<FIELDS>
<FIELD NAME="usr" TYPE="int" LENGTH="10" NOTNULL="true" />
<FIELD NAME="expiry" TYPE="datetime" NOTNULL="true" />
<FIELD NAME="code" TYPE="char" LENGTH="20" NOTNULL="true" />
<FIELD NAME="key" TYPE="char" LENGTH="20" NOTNULL="true" />
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="usr,expiry" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment