X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0f5ad1f3cc5d82efef93d2d17809145c5f68f233..9d5fd432eec76e1d7f037b7b51d38372e1966197:/db/migrate/20180204153242_tile_users.rb?ds=sidebyside 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"