Added default value "NULL"

This commit is contained in:
Michael 2021-06-14 05:08:01 +00:00
parent bb5e6d248b
commit 31db9dbef7
70 changed files with 311 additions and 311 deletions

View file

@ -4,8 +4,8 @@ The local users
| Field | Description | Type | Null | Key | Default | Extra |
| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
| uid | sequential ID | mediumint unsigned | YES | PRI | | auto_increment |
| parent-uid | The parent user that has full control about this user | mediumint unsigned | NO | | | |
| uid | sequential ID | mediumint unsigned | YES | PRI | NULL | auto_increment |
| parent-uid | The parent user that has full control about this user | mediumint unsigned | NO | | NULL | |
| guid | A unique identifier for this user | varchar(64) | YES | | | |
| username | Name that this user is known by | varchar(255) | YES | | | |
| password | encrypted password | varchar(255) | YES | | | |
@ -20,10 +20,10 @@ The local users
| default-location | Default for item.location | varchar(255) | YES | | | |
| allow_location | 1 allows to display the location | boolean | YES | | 0 | |
| theme | user theme preference | varchar(255) | YES | | | |
| pubkey | RSA public key 4096 bit | text | NO | | | |
| prvkey | RSA private key 4096 bit | text | NO | | | |
| spubkey | | text | NO | | | |
| sprvkey | | text | NO | | | |
| pubkey | RSA public key 4096 bit | text | NO | | NULL | |
| prvkey | RSA private key 4096 bit | text | NO | | NULL | |
| spubkey | | text | NO | | NULL | |
| sprvkey | | text | NO | | NULL | |
| verified | user is verified through email | boolean | YES | | 0 | |
| blocked | 1 for user is blocked | boolean | YES | | 0 | |
| blockwall | Prohibit contacts to post to the profile page of the user | boolean | YES | | 0 | |
@ -35,8 +35,8 @@ The local users
| page-flags | page/profile type | tinyint unsigned | YES | | 0 | |
| account-type | | tinyint unsigned | YES | | 0 | |
| prvnets | | boolean | YES | | 0 | |
| pwdreset | Password reset request token | varchar(255) | NO | | | |
| pwdreset_time | Timestamp of the last password reset request | datetime | NO | | | |
| pwdreset | Password reset request token | varchar(255) | NO | | NULL | |
| pwdreset_time | Timestamp of the last password reset request | datetime | NO | | NULL | |
| maxreq | | int unsigned | YES | | 10 | |
| expire | | int unsigned | YES | | 0 | |
| account_removed | if 1 the account is removed | boolean | YES | | 0 | |
@ -44,10 +44,10 @@ The local users
| account_expires_on | timestamp when account expires and will be deleted | datetime | YES | | 0001-01-01 00:00:00 | |
| expire_notification_sent | timestamp of last warning of account expiration | datetime | YES | | 0001-01-01 00:00:00 | |
| def_gid | | int unsigned | YES | | 0 | |
| allow_cid | default permission for this user | mediumtext | NO | | | |
| allow_gid | default permission for this user | mediumtext | NO | | | |
| deny_cid | default permission for this user | mediumtext | NO | | | |
| deny_gid | default permission for this user | mediumtext | NO | | | |
| openidserver | | text | NO | | | |
| allow_cid | default permission for this user | mediumtext | NO | | NULL | |
| allow_gid | default permission for this user | mediumtext | NO | | NULL | |
| deny_cid | default permission for this user | mediumtext | NO | | NULL | |
| deny_gid | default permission for this user | mediumtext | NO | | NULL | |
| openidserver | | text | NO | | NULL | |
Return to [database documentation](help/database)