#12 first commit

This commit is contained in:
2026-05-16 20:11:51 +02:00
parent fbd47636d1
commit 552c239677
16 changed files with 962 additions and 12 deletions

View File

@@ -580,6 +580,48 @@ ALTER SEQUENCE public.comments_id_seq OWNER TO f0ckm;
ALTER SEQUENCE public.comments_id_seq OWNED BY public.comments.id;
--
-- Name: comment_files; Type: TABLE; Schema: public; Owner: f0ckm
--
CREATE TABLE public.comment_files (
id integer NOT NULL,
comment_id integer,
user_id integer NOT NULL,
dest character varying(40) NOT NULL,
mime character varying(100) NOT NULL,
size integer NOT NULL,
checksum character varying(255) NOT NULL,
phash text,
original_filename text,
created_at timestamp with time zone DEFAULT now()
);
ALTER TABLE public.comment_files OWNER TO f0ckm;
--
-- Name: comment_files_id_seq; Type: SEQUENCE; Schema: public; Owner: f0ckm
--
CREATE SEQUENCE public.comment_files_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.comment_files_id_seq OWNER TO f0ckm;
--
-- Name: comment_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: f0ckm
--
ALTER SEQUENCE public.comment_files_id_seq OWNED BY public.comment_files.id;
--
-- Name: custom_emojis; Type: TABLE; Schema: public; Owner: f0ckm
--