-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #694 from podverse/develop
Release v4.15.0
- Loading branch information
Showing
30 changed files
with
614 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ALTER TABLE ONLY public."playlists" | ||
ADD COLUMN "isDefault" boolean DEFAULT false NOT NULL; | ||
|
||
CREATE TYPE public.playlists_medium_enum AS ENUM | ||
( | ||
'podcast', | ||
'music', | ||
'video', | ||
'film', | ||
'audiobook', | ||
'newsletter', | ||
'blog', | ||
'music-video', | ||
'mixed' | ||
); | ||
|
||
ALTER TYPE public.playlists_medium_enum OWNER TO postgres; | ||
|
||
ALTER TABLE ONLY public."playlists" | ||
ADD COLUMN medium public.playlists_medium_enum DEFAULT 'mixed'::public.playlists_medium_enum NOT NULL; | ||
|
||
CREATE UNIQUE INDEX playlists_owner_isDefault_medium_unique_idx | ||
ON public."playlists" ("ownerId", "isDefault", "medium") | ||
WHERE "playlists"."isDefault" IS TRUE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
CREATE INDEX CONCURRENTLY "podcasts_medium_index" ON "podcasts" ("medium"); | ||
|
||
CREATE INDEX CONCURRENTLY "podcasts_medium_pastAllTimeTotalUniquePageviews_index" ON public.podcasts USING btree | ||
("medium", "pastAllTimeTotalUniquePageviews"); | ||
|
||
CREATE INDEX CONCURRENTLY "podcasts_medium_pastHourTotalUniquePageviews_index" ON public.podcasts USING btree | ||
("medium", "pastHourTotalUniquePageviews"); | ||
|
||
CREATE INDEX CONCURRENTLY "podcasts_medium_pastDayTotalUniquePageviews_index" ON public.podcasts USING btree | ||
("medium", "pastDayTotalUniquePageviews"); | ||
|
||
CREATE INDEX CONCURRENTLY "podcasts_medium_pastWeekTotalUniquePageviews_index" ON public.podcasts USING btree | ||
("medium", "pastWeekTotalUniquePageviews"); | ||
|
||
CREATE INDEX CONCURRENTLY "podcasts_medium_pastMonthTotalUniquePageviews_index" ON public.podcasts USING btree | ||
("medium", "pastMonthTotalUniquePageviews"); | ||
|
||
CREATE INDEX CONCURRENTLY "podcasts_medium_pastYearTotalUniquePageviews_index" ON public.podcasts USING btree | ||
("medium", "pastYearTotalUniquePageviews"); | ||
|
||
-- | ||
|
||
CREATE INDEX CONCURRENTLY "playlists_medium_index" ON "playlists" ("medium"); | ||
|
||
-- | ||
|
||
ALTER TYPE podcasts_medium_enum ADD VALUE 'mixed'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.