view schema/updates/1301/01.fill-survey-types.sql @ 5115:bb5459faadb7 queued-stage-done

Dont leave old jobs behind if retrying remove jobs.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 25 Mar 2020 18:02:46 +0100
parents 28999c7c0c18
children
line wrap: on
line source

INSERT INTO survey_types (survey_type) VALUES ('single'), ('multi')
  ON CONFLICT (survey_type) DO NOTHING;