mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-15 00:43:59 +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';
|
||
|
|