From f6c450e98a2c7c340ec6e4e5928f84642b199557 Mon Sep 17 00:00:00 2001 From: Perflyst Date: Thu, 24 Jan 2019 18:55:37 +0100 Subject: [PATCH] Add information about tables, thanks omarroth --- About-the-database-and-tables.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/About-the-database-and-tables.md b/About-the-database-and-tables.md index 15dfae4..9f30fb7 100644 --- a/About-the-database-and-tables.md +++ b/About-the-database-and-tables.md @@ -1,10 +1,10 @@ Invidious needs one PostgreSQL database with five tables. -`channel_videos` -`channels` -`nonces` -`users` -`videos` +`channel_videos` Stores truncated video info, used to create user feeds +`channels` Stores UCID and author name +`nonces` Keeps track of tokens issued to prevent CSRF +`users` Stores user info, such as preferences, username, subscriptions +`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: ```bash