Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions db/migrate/20191120140058_remove_nearby_from_users.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class RemoveNearbyFromUsers < ActiveRecord::Migration[5.2]
def change
# We've already ignored this column in the model, so it is safe to remove
safety_assured { remove_column :users, :nearby, :integer, :default => 50 }
end
end
2 changes: 1 addition & 1 deletion db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,6 @@ CREATE TABLE public.users (
home_lat double precision,
home_lon double precision,
home_zoom smallint DEFAULT 3,
nearby integer DEFAULT 50,
pass_salt character varying,
email_valid boolean DEFAULT false NOT NULL,
new_email character varying,
Expand Down Expand Up @@ -3137,6 +3136,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20190623093642'),
('20190702193519'),
('20190716173946'),
('20191120140058'),
('21'),
('22'),
('23'),
Expand Down