mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 22:45:19 -04:00
Add migrate script and update README
This commit is contained in:
parent
3646395f1d
commit
a384f6e5fd
4 changed files with 8 additions and 1 deletions
|
@ -16,6 +16,7 @@ if [ ! -f /var/lib/postgresql/data/setupFinished ]; then
|
|||
su postgres -c 'psql invidious < config/sql/videos.sql'
|
||||
su postgres -c 'psql invidious < config/sql/channel_videos.sql'
|
||||
su postgres -c 'psql invidious < config/sql/users.sql'
|
||||
su postgres -c 'psql invidious < config/sql/session_ids.sql'
|
||||
su postgres -c 'psql invidious < config/sql/nonces.sql'
|
||||
touch /var/lib/postgresql/data/setupFinished
|
||||
echo "### invidious database setup finished"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue