X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/29cc21c5990d7aec15e3cbed6e7410373904b5ac..b8cf4b59e5dab79dfd0fc75ef7d5afe90eebf7ae:/db/structure.sql diff --git a/db/structure.sql b/db/structure.sql index a41cb6991..829595e7c 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -1304,8 +1304,8 @@ ALTER SEQUENCE public.oauth_tokens_id_seq OWNED BY public.oauth_tokens.id; CREATE TABLE public.redactions ( id integer NOT NULL, - title character varying, - description text, + title character varying NOT NULL, + description text NOT NULL, created_at timestamp without time zone, updated_at timestamp without time zone, user_id bigint NOT NULL, @@ -2728,6 +2728,13 @@ CREATE INDEX index_reports_on_issue_id ON public.reports USING btree (issue_id); CREATE INDEX index_reports_on_user_id ON public.reports USING btree (user_id); +-- +-- Name: index_user_blocks_on_creator_id_and_id; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX index_user_blocks_on_creator_id_and_id ON public.user_blocks USING btree (creator_id, id); + + -- -- Name: index_user_blocks_on_user_id; Type: INDEX; Schema: public; Owner: - -- @@ -3512,6 +3519,9 @@ INSERT INTO "schema_migrations" (version) VALUES ('23'), ('22'), ('21'), +('20240405083825'), +('20240307181018'), +('20240307180830'), ('20240228205723'), ('20240117185445'), ('20231213182102'), @@ -3597,3 +3607,4 @@ INSERT INTO "schema_migrations" (version) VALUES ('11'), ('10'), ('1'); +