Add "About the database and tables"

This commit is contained in:
Perflyst 2019-01-24 18:49:21 +01:00
parent 58231a01a6
commit ea4a2333d9

View File

@ -0,0 +1,14 @@
Invidious needs one PostgreSQL database with five tables.
`channel_videos`
`channels`
`nonces`
`users`
`videos`
The table `videos` grows a lot and needs the most storage. You can clean it up using following commands:
```bash
$ sudo -i -u postgres
$ psql invidious -c "TRUNCATE TABLE videos"
$ exit
```