-require 'lib/migrate'
+require 'migrate'
class CreateOsmDb < ActiveRecord::Migration
def self.up
end
add_index "current_way_tags", ["id"], :name => "current_way_tags_id_idx"
- execute "CREATE FULLTEXT INDEX `current_way_tags_v_idx` ON `current_way_tags` (`v`)"
+ add_fulltext_index "current_way_tags", "v"
create_table "current_ways", myisam_table do |t|
t.column "id", :bigint_pk_64, :null => false
create_table "gps_points", myisam_table do |t|
t.column "altitude", :float
- t.column "user_id", :integer, :limit => 20
+ t.column "user_id", :integer
t.column "trackid", :integer
t.column "latitude", :integer
t.column "longitude", :integer
- t.column "gpx_id", :integer, :limit => 20
+ t.column "gpx_id", :integer
t.column "timestamp", :datetime
end