Initial commit

This commit is contained in:
root
2026-01-19 17:44:46 +01:00
commit 823af8b11d
8721 changed files with 1130846 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
{
"fields": {
"code": {
"type": "varchar",
"maxLength": 100
},
"method": {
"type": "varchar",
"maxLength": 100
},
"attemptsLeft": {
"type": "int"
},
"isActive": {
"type": "bool",
"default": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
}
},
"links": {
"user": {
"type": "belongsTo",
"entity": "User"
}
},
"indexes": {
"createdAt": {
"columns": [
"createdAt"
]
},
"userIdMethod": {
"columns": [
"userId",
"method"
]
},
"userIdMethodIsActive": {
"columns": [
"userId",
"method",
"isActive"
]
},
"userIdMethodCreatedAt": {
"columns": [
"userId",
"method",
"createdAt"
]
}
}
}