mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-27 05:50:03 +00:00
56e26fc3d4
* 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.
9 lines
194 B
SQL
9 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;
|
|
|