comparison pkg/imports/sr.go @ 5410:8b6018ed3ffd marking-single-beam

If doing SR imports, lock sounding_results_marking_points table, too.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 07 Jul 2021 09:29:06 +0200
parents 850f5847d18a
children 9822a840d668
comparison
equal deleted inserted replaced
5409:d668ccc7d12c 5410:8b6018ed3ffd
104 104
105 func (srJobCreator) Create() Job { return new(SoundingResult) } 105 func (srJobCreator) Create() Job { return new(SoundingResult) }
106 106
107 func (srJobCreator) Depends() [2][]string { 107 func (srJobCreator) Depends() [2][]string {
108 return [2][]string{ 108 return [2][]string{
109 {"sounding_results", "sounding_results_iso_areas"}, 109 {"sounding_results", "sounding_results_iso_areas",
110 "sounding_results_marking_points"},
110 {"bottlenecks"}, 111 {"bottlenecks"},
111 } 112 }
112 } 113 }
113 114
114 // StageDone moves the imported sounding result out of the staging area. 115 // StageDone moves the imported sounding result out of the staging area.