mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 21:01:23 +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';
|
||
|
|