summaryrefslogtreecommitdiffstats
path: root/config/migrate-scripts/migrate-db-17cf077.sh
blob: 1597311d3ba06a0b8196fca3f5911218ae32a2fa (plain)
1
2
3
4
5
6
7
#!/bin/sh

[ -z "$POSTGRES_USER" ] && POSTGRES_USER=kemal
[ -z "$POSTGRES_DB" ] && POSTGRES_DB=invidious

psql "$POSTGRES_DB" "$POSTGRES_USER" -c "ALTER TABLE channels ADD COLUMN subscribed bool;"
psql "$POSTGRES_DB" "$POSTGRES_USER" -c "UPDATE channels SET subscribed = false;"
>check host instead of the whole href for occurence of wikipedia.orgKotuklion 2021-07-12left some unnecessary spaces here and thereKotuklion 2021-07-12fix minor typosKotuklion 2021-07-12add Wikiless supportKotuklion 2021-07-11Italian translation fixunbranched 2021-07-10Add redirect for Norwegian Google TranslateTim Hårek Andreassen 2021-07-10Bump version & update dependencies.v1.1.48SimonBrazell 2021-07-10Closes #242: remove "new" tag from SimplyTranslate.SimonBrazell 2021-06-16Fixes #238SimonBrazell 2021-06-16Redirect Twitter "video" subdomain & update dev dependencies.SimonBrazell 2021-06-16Fixed license linkGaurang Tandon 2021-06-16Added reddit.artemislena.euFantasyCookie17 2021-06-12Only append autoplay parameter if necessarybopol