summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-02-10 12:46:58 -0600
committerOmar Roth <omarroth@hotmail.com>2019-02-10 12:46:58 -0600
commita384f6e5fd11824f0227f51b53a6bdbd815d60a9 (patch)
tree3233595eb4b6359f994caaa9f1ead68a879c1bbe /docker
parent3646395f1d8b200ebd33f3c0b65ad6bbaf0c7156 (diff)
downloadinvidious-a384f6e5fd11824f0227f51b53a6bdbd815d60a9.tar.gz
invidious-a384f6e5fd11824f0227f51b53a6bdbd815d60a9.tar.bz2
invidious-a384f6e5fd11824f0227f51b53a6bdbd815d60a9.zip
Add migrate script and update README
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/entrypoint.postgres.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/entrypoint.postgres.sh b/docker/entrypoint.postgres.sh
index 9a258dd6..8f987201 100755
--- a/docker/entrypoint.postgres.sh
+++ b/docker/entrypoint.postgres.sh
@@ -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"