- remove_index :current_way_tags, :name=> :current_way_tags_v_idx
- remove_index :current_relation_tags, :name=> :current_relation_tags_v_idx
-
- @@ver_tbl.each { |tbl|
- change_column tbl, "version", :bigint, :limit => 20, :null => false
- }
-
- @@conv_tables.each { |tbl|
- change_engine (tbl, "InnoDB")
- }
-
- @@ver_tbl.each { |tbl|
- add_column "current_#{tbl}", "version", :bigint, :limit => 20, :null => false
- # As the initial version of all nodes, ways and relations is 0, we set the
- # current version to something less so that we can update the version in
+ remove_index :current_way_tags, :name => :current_way_tags_v_idx
+ remove_index :current_relation_tags, :name => :current_relation_tags_v_idx
+
+ @ver_tbl.each do |tbl|
+ change_column tbl, "version", :bigint, :null => false
+ add_column "current_#{tbl}", "version", :bigint, :null => false
+ # As the initial version of all nodes, ways and relations is 0, we set tehe
+ # current version to something less so that we can update the version in