1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-01-02 03:06:12 -05:00
invidious/config/migrate-scripts/migrate-db-3bcb98e.sh

7 lines
172 B
Bash
Raw Normal View History

2019-04-15 12:17:23 -04:00
#!/bin/sh
[ -z "$POSTGRES_USER" ] && POSTGRES_USER=kemal
[ -z "$POSTGRES_DB" ] && POSTGRES_DB=invidious
psql "$POSTGRES_DB" "$POSTGRES_USER" < config/sql/annotations.sql