diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-03-03 20:44:29 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-03-03 20:44:29 -0600 |
| commit | 90715467a245d08441b8454d0f4dfa5295038306 (patch) | |
| tree | f9233b4fbe6fcf6e15bb10c61b25dda829527abc /config | |
| parent | 7425700009b2e127775ba33b9b9cf661867ecc2e (diff) | |
| download | invidious-90715467a245d08441b8454d0f4dfa5295038306.tar.gz invidious-90715467a245d08441b8454d0f4dfa5295038306.tar.bz2 invidious-90715467a245d08441b8454d0f4dfa5295038306.zip | |
Set default value for 'subscribed' date
Diffstat (limited to 'config')
| -rwxr-xr-x | config/migrate-scripts/migrate-db-8e884fe1.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/migrate-scripts/migrate-db-8e884fe1.sh b/config/migrate-scripts/migrate-db-8e884fe1.sh index ca137a5f..095c7632 100755 --- a/config/migrate-scripts/migrate-db-8e884fe1.sh +++ b/config/migrate-scripts/migrate-db-8e884fe1.sh @@ -2,3 +2,4 @@ psql invidious -c "ALTER TABLE channels DROP COLUMN subscribed" psql invidious -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz" +psql invidious -c "UPDATE channels SET subscribed = '2019-01-01 00:00:00+00'" |
