Storing session id in cookies, and db

This commit is contained in:
MrFry 2020-04-03 10:36:53 +02:00
parent 840f64c66b
commit 52ae2828e5
3 changed files with 56 additions and 19 deletions

View file

@ -20,6 +20,23 @@
}
}
},
"sessions": {
"tableStruct": {
"id": {
"type": "text",
"primary": true,
"notNull": true
},
"ip": {
"type": "text",
"notNull": true
},
"userID": {
"type": "number",
"notNull": true
}
}
},
"acesses": {
"tableStruct": {
"accessId": {