X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dcb0369788b70b262845c601cad0a874b427725a..fa09a62d393ed10f314b64f25bd43a29db03d2a8:/db/structure.sql?ds=sidebyside diff --git a/db/structure.sql b/db/structure.sql index f9e588b3c..9318185c6 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -1499,7 +1499,8 @@ CREATE TABLE public.users ( home_tile bigint, tou_agreed timestamp without time zone, diary_comments_count integer DEFAULT 0, - note_comments_count integer DEFAULT 0 + note_comments_count integer DEFAULT 0, + creation_address inet ); @@ -2603,6 +2604,13 @@ CREATE INDEX index_user_blocks_on_user_id ON public.user_blocks USING btree (use CREATE UNIQUE INDEX index_user_mutes_on_owner_id_and_subject_id ON public.user_mutes USING btree (owner_id, subject_id); +-- +-- Name: index_users_on_creation_address; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX index_users_on_creation_address ON public.users USING gist (creation_address inet_ops); + + -- -- Name: messages_from_user_id_idx; Type: INDEX; Schema: public; Owner: - -- @@ -3349,6 +3357,7 @@ INSERT INTO "schema_migrations" (version) VALUES ('23'), ('22'), ('21'), +('20240910175616'), ('20240822121603'), ('20240813070506'), ('20240724194738'),