Mercurial > gemma
comparison pkg/imports/dsr.go @ 4403:9c6c65a628a3
Delete sounding result imports: Fixed dependencies.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 16 Sep 2019 17:15:18 +0200 |
parents | 3b36c4d810b0 |
children | 911b1349a9bd |
comparison
equal
deleted
inserted
replaced
4402:5e894e680e0d | 4403:9c6c65a628a3 |
---|---|
39 func (dsrJobCreator) AutoAccept() bool { return false } | 39 func (dsrJobCreator) AutoAccept() bool { return false } |
40 | 40 |
41 func (dsrJobCreator) Create() Job { return new(DeleteSoundingResult) } | 41 func (dsrJobCreator) Create() Job { return new(DeleteSoundingResult) } |
42 | 42 |
43 func (dsrJobCreator) Depends() [2][]string { | 43 func (dsrJobCreator) Depends() [2][]string { |
44 return [2][]string{ | 44 // Same as import. |
45 {"sounding resultes"}, | 45 return srJobCreator{}.Depends() |
46 {}, | |
47 } | |
48 } | 46 } |
49 | 47 |
50 const ( | 48 const ( |
51 dsrFindSQL = ` | 49 dsrFindSQL = ` |
52 SELECT id FROM waterway.sounding_results | 50 SELECT id FROM waterway.sounding_results |