mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-22 17:27:15 +00:00
Fix missing sorting types (#3370)
* Fix missing sorting types * Reordered sort_type_enum
This commit is contained in:
parent
0f91759e4d
commit
ffc049078e
|
@ -4,7 +4,7 @@ update local_user set default_sort_type = 'TopDay' where default_sort_type in ('
|
|||
-- rename the old enum
|
||||
alter type sort_type_enum rename to sort_type_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 table local_user
|
||||
|
|
Loading…
Reference in a new issue