mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
[Database 1526] Add new user-gserver table
- Add Entity, Collection, Factory and Repository classes for it
This commit is contained in:
parent
2ba3069b07
commit
9bbb55b2bb
8 changed files with 342 additions and 2 deletions
30
doc/database/db_user-gserver.md
Normal file
30
doc/database/db_user-gserver.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
Table user-gserver
|
||||
===========
|
||||
|
||||
User settings about remote servers
|
||||
|
||||
Fields
|
||||
------
|
||||
|
||||
| Field | Description | Type | Null | Key | Default | Extra |
|
||||
| ------- | ---------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
|
||||
| uid | Owner User id | mediumint unsigned | NO | | 0 | |
|
||||
| gsid | Gserver id | int unsigned | NO | | 0 | |
|
||||
| ignored | server accounts are ignored for the user | boolean | NO | | 0 | |
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
||||
| Name | Fields |
|
||||
| ------- | --------- |
|
||||
| PRIMARY | uid, gsid |
|
||||
|
||||
Foreign Keys
|
||||
------------
|
||||
|
||||
| Field | Target Table | Target Field |
|
||||
|-------|--------------|--------------|
|
||||
| uid | [user](help/database/db_user) | uid |
|
||||
| gsid | [gserver](help/database/db_gserver) | id |
|
||||
|
||||
Return to [database documentation](help/database)
|
Loading…
Add table
Add a link
Reference in a new issue