mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +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';
|
||
|
|