lemmy/migrations/2024-01-15-100133_local-onl.../up.sql

9 lines
174 B
SQL

CREATE TYPE community_visibility AS enum (
'Public',
'LocalOnly'
);
ALTER TABLE community
ADD COLUMN visibility community_visibility NOT NULL DEFAULT 'Public';