mrfrys-node-server/modules/api/apiDBStruct.json

62 lines
1,018 B
JSON

{
"users": {
"tableStruct": {
"pw": {
"type": "text",
"primary": true,
"notNull": true
},
"id": {
"type": "number"
},
"lastIP": {
"type": "text"
},
"notes": {
"type": "text"
},
"loginCount": {
"type": "number"
}
}
},
"sessions": {
"tableStruct": {
"id": {
"type": "text",
"primary": true,
"notNull": true
},
"ip": {
"type": "text",
"notNull": true
},
"userID": {
"type": "number",
"notNull": true
},
"createDate": {
"type": "text",
"notNull": true
},
"lastAccess": {
"type": "text"
}
}
},
"acesses": {
"tableStruct": {
"accessId": {
"type": "number",
"primary": true,
"notNull": true
},
"userId": {
"type": "number"
},
"ip": {
"type": "text"
}
}
}
}