]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/005_tile_tracepoints.rb
Make the tile ID column unsigned as intended.
[rails.git] / db / migrate / 005_tile_tracepoints.rb
index d9d782df0ac954aea49abcada732051e6a6e2de9..246f9b7b41a1e37869a7192bc7fb96c8ddb9e9c3 100644 (file)
@@ -1,6 +1,6 @@
 class TileTracepoints < ActiveRecord::Migration
   def self.up
-    add_column "gps_points", "tile", :integer, :null => false, :options => "UNSIGNED"
+    add_column "gps_points", "tile", :integer, :null => false, :unsigned => true
     add_index "gps_points", ["tile"], :name => "points_tile_idx"
     remove_index "gps_points", :name => "points_idx"