X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7dbf8d83369cb73929080c4ba23fdd7dcd0184df..22dc13d6edb17cbdd4b73aabad340dcc8ef41999:/db/migrate/20180204153242_tile_users.rb?ds=inline 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"