mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Auth system
This commit is contained in:
parent
52778532dc
commit
9435cc6533
14 changed files with 637 additions and 23 deletions
35
modules/api/apiDBStruct.json
Normal file
35
modules/api/apiDBStruct.json
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"users": {
|
||||
"tableStruct": {
|
||||
"userID": {
|
||||
"type": "number",
|
||||
"primary": true,
|
||||
"notNull": true
|
||||
},
|
||||
"pw": {
|
||||
"type": "text"
|
||||
},
|
||||
"lastIP": {
|
||||
"type": "text"
|
||||
},
|
||||
"notes": {
|
||||
"type": "text"
|
||||
},
|
||||
"loginCount": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"acesses": {
|
||||
"tableStruct": {
|
||||
"userID": {
|
||||
"type": "number",
|
||||
"primary": true,
|
||||
"notNull": true
|
||||
},
|
||||
"ip": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue