mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Storing session id in cookies, and db
This commit is contained in:
parent
840f64c66b
commit
52ae2828e5
3 changed files with 56 additions and 19 deletions
|
@ -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": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue