Mercurial > gemma
diff pkg/imports/sr.go @ 5564:aaa9e658cabd
Log export: Added marker interface to JobCreators that log messages should be loaded at export.
Removes the hard coded SR export SQL logic.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 12 Feb 2022 18:56:55 +0100 |
parents | 5152b4db40cc |
children | 7e8830c808ba |
line wrap: on
line diff
--- a/pkg/imports/sr.go Sat Feb 12 17:36:20 2022 +0100 +++ b/pkg/imports/sr.go Sat Feb 12 18:56:55 2022 +0100 @@ -107,6 +107,9 @@ func (srJobCreator) Create() Job { return new(SoundingResult) } +// LoadingLogs ensures that log lines are loaded when import is exported. +func (srJobCreator) LoadingLogs() bool { return true } + func (srJobCreator) Depends() [2][]string { return [2][]string{ {"sounding_results", "sounding_results_iso_areas",