mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-24 13:21:19 +00:00
9 lines
174 B
MySQL
9 lines
174 B
MySQL
|
CREATE TYPE community_visibility AS enum (
|
||
|
'Public',
|
||
|
'LocalOnly'
|
||
|
);
|
||
|
|
||
|
ALTER TABLE community
|
||
|
ADD COLUMN visibility community_visibility NOT NULL DEFAULT 'Public';
|
||
|
|