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