 -- Name: device_seq; Type: SEQUENCE; Schema: public; Owner: -
 --
 
-CREATE SEQUENCE device_seq
+CREATE SEQUENCE public.device_seq
     START WITH 1
     INCREMENT BY 1
     NO MINVALUE

-- Name: comments_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY comments_tags
    ADD CONSTRAINT comments_tags_pkey PRIMARY KEY (id);



-- Name: user_post_relevance; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.user_post_relevance (
    id bigint DEFAULT nextval('public.user_post_relevance_seq'::regclass) NOT NULL,
    user_id bigint,
    post_id bigint,
    similarity real,
