X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..8b9d0ff56041d8eea953c228ea0242390f2d6471:/db/migrate/20180204153242_tile_users.rb diff --git a/db/migrate/20180204153242_tile_users.rb b/db/migrate/20180204153242_tile_users.rb index cf20aed46..917948d43 100644 --- a/db/migrate/20180204153242_tile_users.rb +++ b/db/migrate/20180204153242_tile_users.rb @@ -1,4 +1,7 @@ class TileUsers < ActiveRecord::Migration[5.1] + class User < ApplicationRecord + end + def up add_column :users, :home_tile, :bigint add_index :users, [:home_tile], :name => "users_home_idx"