forked from midou/invidious
Update pubsub to support lease_seconds
This commit is contained in:
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)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user