mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
14 lines
318 B
SQL
14 lines
318 B
SQL
CREATE TYPE vote_display_mode_enum AS enum (
|
|
'Full',
|
|
'UpvoteAndDownvote',
|
|
'ScoreAndDownvote',
|
|
'ScoreAndUpvotePercentage',
|
|
'UpvotePercentage',
|
|
'Score',
|
|
'HideAll'
|
|
);
|
|
|
|
ALTER TABLE local_user
|
|
ADD COLUMN vote_display_mode vote_display_mode_enum DEFAULT 'ScoreAndUpvotePercentage' NOT NULL;
|
|
|