From 7d028f67e991adb8bab727d764552b13956b9e28 Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 17 Mar 2020 20:28:35 -0500 Subject: [PATCH] structure.sql: resynchronize. --- db/structure.sql | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/db/structure.sql b/db/structure.sql index 2a025201a..505b3fc9e 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -558,7 +558,7 @@ CREATE TABLE public.artist_versions ( name character varying NOT NULL, updater_id integer NOT NULL, updater_ip_addr inet NOT NULL, - is_active boolean DEFAULT true NOT NULL, + is_deleted boolean DEFAULT false NOT NULL, other_names text[] DEFAULT '{}'::text[] NOT NULL, group_name character varying DEFAULT ''::character varying NOT NULL, urls text[] DEFAULT '{}'::text[] NOT NULL, @@ -6773,6 +6773,13 @@ CREATE INDEX index_posts_on_parent_id ON public.posts USING btree (parent_id) WH CREATE INDEX index_posts_on_pixiv_id ON public.posts USING btree (pixiv_id) WHERE (pixiv_id IS NOT NULL); +-- +-- Name: index_posts_on_source; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX index_posts_on_source ON public.posts USING btree (lower((source)::text)); + + -- -- Name: index_posts_on_source_trgm; Type: INDEX; Schema: public; Owner: - --