token-validator: display user associated domain and delegation
This commit is contained in:
parent
d28b14fa50
commit
8427a0adb8
4 changed files with 30 additions and 16 deletions
|
|
@ -56,7 +56,9 @@ func DBCreate() (err error) {
|
|||
CREATE TABLE IF NOT EXISTS students(
|
||||
id_student INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
login VARCHAR(255) NOT NULL UNIQUE,
|
||||
time TIMESTAMP NOT NULL
|
||||
time TIMESTAMP NOT NULL,
|
||||
associatedDomain VARCHAR(255) UNIQUE,
|
||||
delegatedDomain VARCHAR(255) UNIQUE
|
||||
) DEFAULT CHARACTER SET = utf8 COLLATE = utf8_bin;
|
||||
`); err != nil {
|
||||
return
|
||||
|
|
|
|||
Reference in a new issue