PW is now the primary key, added login/logout route

This commit is contained in:
MrFry 2020-04-03 09:05:14 +02:00
parent 9435cc6533
commit cdcb1ccbbc
3 changed files with 40 additions and 6 deletions

View file

@ -1,13 +1,13 @@
{
"users": {
"tableStruct": {
"userID": {
"type": "number",
"pw": {
"type": "text",
"primary": true,
"notNull": true
},
"pw": {
"type": "text"
"userID": {
"type": "number"
},
"lastIP": {
"type": "text"