alexpawlowski / transitdatafeeder

Automatically exported from code.google.com/p/transitdatafeeder
0 stars 0 forks source link

Frequency records cannot be deleted #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There needs to be a capability to delete frequency records.  This capability 
does not currently exist.  "Frequencies" or headway intervals are currently 
shown above stop times in the trip view.

Original issue reported on code.google.com by aaronant...@yahoo.com on 30 Aug 2010 at 7:12

GoogleCodeExporter commented 9 years ago
My workaround is to delete the entire trip. The other alternative is to 
duplicate the trip and start fresh, frequencies-wise. To duplicate the trip, 
try the tiny shell script attached.

Alternatively, you can just delete the record:

$ psql tdf ideauser --host=localhost --command="DELETE FROM frequency WHERE 
frequency_id ='570'"

for Frequency # 570, in this case.

Original comment by rypal...@gmail.com on 24 Nov 2012 at 2:16

Attachments: