Indexes and foreign keys added

This commit is contained in:
Michael 2021-06-14 08:53:37 +00:00
parent 2cd0c1d30d
commit 96f07c7288
73 changed files with 1366 additions and 8 deletions

View file

@ -3,6 +3,9 @@ Table application
OAuth application
Fields
------
| Field | Description | Type | Null | Key | Default | Extra |
| ------------- | --------------- | ------------ | ---- | --- | ------- | -------------- |
| id | generated index | int unsigned | NO | PRI | NULL | auto_increment |
@ -17,4 +20,13 @@ OAuth application
| follow | Follow scope | boolean | YES | | NULL | |
| push | Push scope | boolean | YES | | NULL | |
Indexes
------------
| Name | Fields |
|------|---------|
| PRIMARY | id |
| client_id | UNIQUE, client_id |
Return to [database documentation](help/database)