add phone field to User model and update notification relations
```
This commit is contained in:
louiscklaw
2025-05-11 16:59:02 +08:00
parent b35b77557e
commit a4cdb4b1cc
2 changed files with 48 additions and 23 deletions

View File

@@ -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
}
//