diff --git a/001_documentation/Requirements/REQ0006/schema.dbml b/001_documentation/Requirements/REQ0006/schema.dbml index 6744a53..2c5167e 100644 --- a/001_documentation/Requirements/REQ0006/schema.dbml +++ b/001_documentation/Requirements/REQ0006/schema.dbml @@ -1,4 +1,4 @@ -// Generated at: 2025-05-08T05:00:49.862Z +// Generated at: 2025-05-11T08:58:29.867Z // @@ -32,6 +32,7 @@ Table users { created datetime updated datetime visible text + phone text } // @@ -119,6 +120,8 @@ Table Notifications { NOTI_ID text created datetime updated datetime + to_user_id integer [ref: > UserMetas.id] // relation704048736 + from_user_id integer [ref: > UserMetas.id] // relation556806202 } // @@ -346,7 +349,6 @@ Table UserMetas { name text email text phone text - avatar_file file } // diff --git a/001_documentation/Requirements/REQ0006/schema.json b/001_documentation/Requirements/REQ0006/schema.json index df3819c..2dcd756 100644 --- a/001_documentation/Requirements/REQ0006/schema.json +++ b/001_documentation/Requirements/REQ0006/schema.json @@ -318,6 +318,20 @@ "required": false, "system": false, "type": "text" + }, + { + "autogeneratePattern": "", + "hidden": false, + "id": "text1146066909", + "max": 0, + "min": 0, + "name": "phone", + "pattern": "", + "presentable": false, + "primaryKey": false, + "required": false, + "system": false, + "type": "text" } ], "indexes": [ @@ -1110,6 +1124,32 @@ "presentable": false, "system": false, "type": "autodate" + }, + { + "cascadeDelete": false, + "collectionId": "pbc_1305841361", + "hidden": false, + "id": "relation704048736", + "maxSelect": 1, + "minSelect": 0, + "name": "to_user_id", + "presentable": false, + "required": false, + "system": false, + "type": "relation" + }, + { + "cascadeDelete": false, + "collectionId": "pbc_1305841361", + "hidden": false, + "id": "relation556806202", + "maxSelect": 1, + "minSelect": 0, + "name": "from_user_id", + "presentable": false, + "required": false, + "system": false, + "type": "relation" } ], "indexes": [], @@ -2903,18 +2943,15 @@ "type": "text" }, { - "autogeneratePattern": "", + "exceptDomains": null, "hidden": false, - "id": "text3885137012", - "max": 0, - "min": 0, + "id": "email3885137012", "name": "email", - "pattern": "", + "onlyDomains": null, "presentable": false, - "primaryKey": false, "required": false, "system": false, - "type": "text" + "type": "email" }, { "autogeneratePattern": "", @@ -2929,20 +2966,6 @@ "required": false, "system": false, "type": "text" - }, - { - "hidden": false, - "id": "file507207115", - "maxSelect": 1, - "maxSize": 0, - "mimeTypes": [], - "name": "avatar_file", - "presentable": false, - "protected": false, - "required": false, - "system": false, - "thumbs": [], - "type": "file" } ], "indexes": [],