Mercurial > gemma
annotate schema/updates/1301/01.fill-survey-types.sql @ 5347:1fc454da7ee8 extented-report
XLSX templater: To ease debugging enrich error with SQL statement if it fails.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 20 Jun 2021 14:11:13 +0200 |
parents | 28999c7c0c18 |
children |
rev | line source |
---|---|
4628
28999c7c0c18
Fill single and multi into survey type table.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 INSERT INTO survey_types (survey_type) VALUES ('single'), ('multi') |
28999c7c0c18
Fill single and multi into survey type table.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 ON CONFLICT (survey_type) DO NOTHING; |
28999c7c0c18
Fill single and multi into survey type table.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 |