db: add users.is_deleted to structure.sql.

Forgotten in f083f29c3.
This commit is contained in:
evazion
2022-11-07 00:09:37 -06:00
parent 174c8e0067
commit a2690dcb4f

View File

@@ -2102,7 +2102,8 @@ CREATE TABLE public.users (
last_ip_addr inet,
unread_dmail_count integer NOT NULL,
theme integer NOT NULL,
upload_points integer NOT NULL
upload_points integer NOT NULL,
is_deleted boolean DEFAULT false NOT NULL
);
@@ -5773,6 +5774,13 @@ CREATE INDEX index_users_on_id_and_created_at ON public.users USING btree (id, c
CREATE INDEX index_users_on_inviter_id ON public.users USING btree (inviter_id) WHERE (inviter_id IS NOT NULL);
--
-- Name: index_users_on_is_deleted; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_users_on_is_deleted ON public.users USING btree (is_deleted) WHERE (is_deleted = true);
--
-- Name: index_users_on_last_ip_addr; Type: INDEX; Schema: public; Owner: -
--
@@ -6901,6 +6909,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20221010035855'),
('20221026084655'),
('20221026084656'),
('20221027000931');
('20221027000931'),
('20221106062419');