mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 18:19:25 +00:00
Don't require middle names
This commit is contained in:
@@ -19,7 +19,7 @@ tableCreate.set('account', `
|
||||
accountId varchar(36) NOT NULL PRIMARY KEY,
|
||||
email varchar(255) NOT NULL ,
|
||||
firstName varchar(50) NOT NULL ,
|
||||
otherNames varchar(255) NOT NULL ,
|
||||
otherNames varchar(255) ,
|
||||
lastName varchar(50) NOT NULL ,
|
||||
password varchar(60) NOT NULL ,
|
||||
CONSTRAINT Unq_account_email UNIQUE ( email )
|
||||
@@ -31,7 +31,7 @@ tableCreate.set('parent', `
|
||||
parentId varchar(36) NOT NULL PRIMARY KEY,
|
||||
email varchar(255) NOT NULL ,
|
||||
firstName varchar(50) NOT NULL ,
|
||||
otherNames varchar(50) NOT NULL ,
|
||||
otherNames varchar(50) ,
|
||||
lastName varchar(50) NOT NULL ,
|
||||
password varchar(60) NOT NULL ,
|
||||
CONSTRAINT Unq_parent UNIQUE ( email )
|
||||
@@ -43,7 +43,7 @@ tableCreate.set('student', `
|
||||
studentId varchar(36) NOT NULL PRIMARY KEY,
|
||||
email varchar(255) NOT NULL ,
|
||||
firstName varchar(50) NOT NULL ,
|
||||
otherNames varchar(50) NOT NULL ,
|
||||
otherNames varchar(50) ,
|
||||
lastName varchar(50) NOT NULL ,
|
||||
password varchar(60) NOT NULL ,
|
||||
CONSTRAINT Unq_student UNIQUE ( email )
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<input type='text' id='lname' name='lname' placeholder='Last Name' required/>
|
||||
</div>
|
||||
|
||||
<input type='text' id='onames' name='onames' placeholder='Middle Name(s)'/>
|
||||
<input type='email' id='email' name='email' placeholder='Email Address' required/>
|
||||
<input type='password' id='password' name='password' placeholder='Password' required/>
|
||||
<input type='password' id='confPassword' name='confPassword' placeholder='Confirm Password' required/>
|
||||
|
||||
Reference in New Issue
Block a user