mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Update pubsub to support lease_seconds
This commit is contained in:
parent
8e884fe115
commit
7425700009
5 changed files with 19 additions and 13 deletions
4
config/migrate-scripts/migrate-db-8e884fe1.sh
Executable file
4
config/migrate-scripts/migrate-db-8e884fe1.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
psql invidious -c "ALTER TABLE channels DROP COLUMN subscribed"
|
||||
psql invidious -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz"
|
|
@ -8,6 +8,7 @@ CREATE TABLE public.channels
|
|||
author text,
|
||||
updated timestamp with time zone,
|
||||
deleted boolean,
|
||||
subscribed timestamp with time zone,
|
||||
CONSTRAINT channels_id_key UNIQUE (id)
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue