Class: WorldDb::Deleter
- Inherits:
-
Object
- Object
- WorldDb::Deleter
- Includes:
- Models
- Defined in:
- lib/worlddb/deleter.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/worlddb/deleter.rb', line 11 def run # for now delete all tables ## Tagging.delete_all # - use TagDb.delete! ## Tag.delete_all CountryCode.delete_all Name.delete_all Place.delete_all City.delete_all Metro.delete_all District.delete_all State.delete_all Part.delete_all County.delete_all Muni.delete_all Country.delete_all Continent.delete_all Usage.delete_all Lang.delete_all # Prop.delete_all # - use ConfDb.delete! end |