mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-29 07:41:20 +00:00
Fix missing sorting types (#3370)
* Fix missing sorting types * Reordered sort_type_enum
This commit is contained in:
parent
0f91759e4d
commit
ffc049078e
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ update local_user set default_sort_type = 'TopDay' where default_sort_type in ('
|
||||||
-- rename the old enum
|
-- rename the old enum
|
||||||
alter type sort_type_enum rename to sort_type_enum__;
|
alter type sort_type_enum rename to sort_type_enum__;
|
||||||
-- create the new enum
|
-- create the new enum
|
||||||
CREATE TYPE sort_type_enum AS ENUM ('Active', 'Hot', 'New', 'Old', 'TopDay', 'TopWeek', 'TopMonth', 'TopYear', 'TopAll', 'MostComments', 'NewComments');
|
CREATE TYPE sort_type_enum AS ENUM ('Active', 'Hot', 'New', 'Old', 'TopDay', 'TopWeek', 'TopMonth', 'TopYear', 'TopAll', 'MostComments', 'NewComments', 'TopHour', 'TopSixHour', 'TopTwelveHour');
|
||||||
|
|
||||||
-- alter all you enum columns
|
-- alter all you enum columns
|
||||||
alter table local_user
|
alter table local_user
|
||||||
|
|
Loading…
Reference in a new issue