Updated Database Information and Maintenance (markdown)

This commit is contained in:
Omar Roth 2019-02-10 14:02:03 -06:00
parent 8136d50f13
commit 9debe2e6fb

View File

@ -4,6 +4,7 @@ Invidious needs one PostgreSQL database with five tables.
`channels` Stores UCID and author name
`nonces` Keeps track of tokens issued to prevent CSRF
`users` Stores user info, such as preferences, username, subscriptions
`session_ids` Keeps track of user sessions
`videos` Stores video cache, used to create "top" page
The table `videos` grows a lot and needs the most storage. You can clean it up using following commands: