Displaying 1 result from an estimated 1 matches for "zip_code_optim".
2009 Jun 23
2
syntax error, unexpected tINTEGER, expecting $end
...6. t.column :longitude, :float
7. t.column :city, :string
8. t.column :state, :string
9. t.column :county, :string
10. t.column :type, :string
11. end
12. add_index "geo_data", ["zip_code"], :name =>
"zip_code_optimization"
13.
14. csv_file = "#{RAILS_ROOT}/db/migrate/geo_data.csv"
15. fields = ''(zip_code, latitude, longitude, city, state,
county, type)''
16.
17. # execute "LOAD DATA INFILE ''#{csv_file}'' INTO TABLE
geo_data FIELDS &...