X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f1e9dcc66af1945cc0b8847b4ccecde9f54520ba..8b9d0ff56041d8eea953c228ea0242390f2d6471:/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"