mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-25 03:55:37 +01:00
Update notes
parent
e82416e311
commit
51fe6dfca6
@ -43,11 +43,13 @@ SHOW TABLES IN Plan;
|
||||
|
||||
[![Database Schema](https://raw.githubusercontent.com/plan-player-analytics/drawio-diagrams-storage/master/Database%20Schema.drawio.svg)](https://app.diagrams.net/#Hplan-player-analytics%2Fdrawio-diagrams-storage%2Fmaster%2FDatabase%20Schema.drawio.svg)
|
||||
|
||||
## Data types
|
||||
|
||||
### Notes
|
||||
|
||||
`plan_servers.uuid`: This uuid is ServerUUID, which the server generates the first time the server connects to the database. It can be found in ServerInfoFile.yml inside Plan plugin folder.
|
||||
- `plan_servers.uuid`: This uuid is ServerUUID, which the server generates the first time the server connects to the database. It can be found in ServerInfoFile.yml inside Plan plugin folder.
|
||||
- `server_uuid` columns refer to `plan_servers.uuid` without a foreign key.
|
||||
- `uuid`, `killer_uuid` & `victim_uuid` columns refer to `plan_users.uuid` without a foreign key.
|
||||
|
||||
## Data types
|
||||
|
||||
```sql
|
||||
SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH, COLUMN_DEFAULT FROM information_schema.columns WHERE table_schema = 'Plan';
|
||||
|
Loading…
Reference in New Issue
Block a user