Indexes and foreign keys added
This commit is contained in:
parent
2cd0c1d30d
commit
96f07c7288
73 changed files with 1366 additions and 8 deletions
|
|
@ -3,6 +3,9 @@ Table attach
|
|||
|
||||
file attachments
|
||||
|
||||
Fields
|
||||
------
|
||||
|
||||
| Field | Description | Type | Null | Key | Default | Extra |
|
||||
| ------------- | ----------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
|
||||
| id | generated index | int unsigned | NO | PRI | NULL | auto_increment |
|
||||
|
|
@ -21,4 +24,19 @@ file attachments
|
|||
| backend-class | Storage backend class | tinytext | YES | | NULL | |
|
||||
| backend-ref | Storage backend data reference | text | YES | | NULL | |
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
||||
| Name | Fields |
|
||||
|------|---------|
|
||||
| PRIMARY | id |
|
||||
| uid | uid |
|
||||
|
||||
Foreign Keys
|
||||
------------
|
||||
|
||||
| Field | Target Table | Target Field |
|
||||
|-------|--------------|--------------|
|
||||
| uid | [user](help/database/db_user) | uid |
|
||||
|
||||
Return to [database documentation](help/database)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue