Skip to content

Commit

Permalink
fix: apply migration to projects table
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 23, 2024
1 parent 44ef30b commit 8a3723e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/migrations/004-organisation-odk-creds.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ END $$;
ALTER TYPE public.projectvisibility OWNER TO fmtm;

-- Add field to projects table
ALTER TABLE IF EXISTS public.organisations
ALTER TABLE IF EXISTS public.projects
DROP COLUMN IF EXISTS private,
ADD COLUMN IF NOT EXISTS visibility public.projectvisibility
NOT NULL DEFAULT 'PUBLIC';
Expand Down

0 comments on commit 8a3723e

Please sign in to comment.