master
SneedBot 2024-10-24 00:00:17 +00:00
parent 203ef25ba2
commit 9cee1700fb
1 changed files with 8 additions and 0 deletions

View File

@ -1747,6 +1747,14 @@ ALTER TABLE ONLY public.media_usages
ADD CONSTRAINT media_usages_pkey PRIMARY KEY (id);
--
-- Name: media_usages media_usages_unique; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.media_usages
ADD CONSTRAINT media_usages_unique UNIQUE NULLS NOT DISTINCT (filename, post_id, comment_id);
--
-- Name: modactions modactions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--