geonames_rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/generators/geonames_rails/migration_templates/geonames_tables.rb +1 -0
- data/lib/generators/geonames_rails/models_templates/models/city.rb +1 -0
- data/lib/generators/geonames_rails/models_templates/models/division.rb +1 -0
- data/lib/geonames_rails/loader.rb +1 -1
- data/lib/geonames_rails/writers/active_record.rb +3 -0
- metadata +2 -2
@@ -41,6 +41,7 @@ class CreateGeonamesTables < ActiveRecord::Migration
|
|
41
41
|
# create cities
|
42
42
|
create_table :cities do |t|
|
43
43
|
t.integer :country_id, :null => false
|
44
|
+
t.integer :division_id
|
44
45
|
# [0] geonameid : integer id of record in geonames database
|
45
46
|
t.integer :geonames_id, :null => false
|
46
47
|
# [1] name : name of geographical point (utf8) varchar(200)
|