Skip to content

Commit

Permalink
Update DB scheme.
Browse files Browse the repository at this point in the history
  • Loading branch information
smelamud committed Dec 23, 2021
1 parent 457aaaf commit 5563797
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/create_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1761,6 +1761,13 @@ CREATE INDEX remote_media_cache_media_file_id_idx ON public.remote_media_cache U
CREATE UNIQUE INDEX remote_media_cache_node_id_remote_node_name_remote_media_id_idx ON public.remote_media_cache USING btree (node_id, remote_node_name, remote_media_id);


--
-- Name: remote_media_cache_null_remote_node_name_remote_media_id_idx; Type: INDEX; Schema: public; Owner: moera
--

CREATE UNIQUE INDEX remote_media_cache_null_remote_node_name_remote_media_id_idx ON public.remote_media_cache USING btree (remote_node_name, remote_media_id) WHERE (node_id IS NULL);


--
-- Name: remote_verifications_deadline_idx; Type: INDEX; Schema: public; Owner: moera
--
Expand Down

0 comments on commit 5563797

Please sign in to comment.