Permalink
Browse files

No commit message

  • Loading branch information...
1 parent e02629e commit f1840313e85687a15eb8dcb5da8d57644898d9c6 christocracy committed Jul 15, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 tasks/geonames_tasks.rake
@@ -12,7 +12,7 @@ namespace :geonames do
config = ActiveRecord::Base.configurations[RAILS_ENV]
- ["country", "country_region", "country_region_city"].each do |name|
+ ["country", "country_region", "country_region_city", "country_region_city_airport"].each do |name|
cmd = "/usr/bin/pg_dump -U postgres -t #{name} -a #{config['database']} --format=c > db/#{name}.sql"
# show cmd user before execing
puts ">#{cmd}"
@@ -27,7 +27,7 @@ namespace :geonames do
config = ActiveRecord::Base.configurations[RAILS_ENV]
- ["country", "country_region", "country_region_city"].each do |name|
+ ["country", "country_region", "country_region_city", "country_region_city_airport"].each do |name|
cmd = "/usr/bin/pg_restore -U postgres -t #{name} -a -d #{config['database']} --format=c < db/#{name}.sql"
# show cmd user before execing
puts ">#{cmd}"

0 comments on commit f184031

Please sign in to comment.