mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-05-19 18:28:05 +00:00
* Adding a post_view mode. Fixes #3730 * Fix test. * Addressing PR comments. * Adding a post_view mode. Fixes #3730 * Fix test. * Addressing PR comments. * Fixing column order. * Fix default Ok returns. * Removing return Err(... where feasible.
10 lines
194 B
SQL
10 lines
194 B
SQL
CREATE TYPE post_listing_mode_enum AS enum (
|
|
'List',
|
|
'Card',
|
|
'SmallCard'
|
|
);
|
|
|
|
ALTER TABLE local_user
|
|
ADD COLUMN post_listing_mode post_listing_mode_enum DEFAULT 'List' NOT NULL;
|
|
|