

--
-- Name: uuid-ossp; Type: EXTENSION; Schema: -; Owner: -
--

CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public;


--
-- Name: EXTENSION "uuid-ossp"; Type: COMMENT; Schema: -; Owner: 
--

COMMENT ON EXTENSION "uuid-ossp" IS 'generate universally unique identifiers (UUIDs)';




--
-- Name: prompts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.prompts (
    id uuid DEFAULT public.uuid_generate_v4() NOT NULL,
    keyword character varying(255) NOT NULL,
    body text NOT NULL,
    user_id uuid NOT NULL,
    created_at timestamp without time zone DEFAULT now() NOT NULL,
    updated_at timestamp without time zone DEFAULT now() NOT NULL,
    project_name character varying(255)
);


ALTER TABLE public.prompts OWNER TO postgres;

--
-- Data for Name: prompts; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.prompts (id, keyword, body, user_id, created_at, updated_at, project_name) FROM stdin;
5299a094-1cda-4868-9c0b-c5138698fa42	lancers	Write bid in native JP\n=====\n{{copied_text}}	5aab988a-0656-4d0c-9888-cc478ec6bf05	2026-02-12 03:34:12.437612	2026-03-08 15:57:05.834159	lancers
6fe3fc37-211d-44cf-ae75-0b700486a826	reply	Reply to this message\n=====\n{{copied_text}}	5aab988a-0656-4d0c-9888-cc478ec6bf05	2026-02-11 02:25:26.655381	2026-03-08 15:57:11.496634	reply
ae29c788-0902-4dd2-bd73-0fb8f6a4e81f	rewrite	Rewrite this message in native Japanese\n=====\n{{copied_text}}	5aab988a-0656-4d0c-9888-cc478ec6bf05	2026-02-25 08:12:03.273253	2026-03-08 15:57:21.668491	rewrite
1d9add7e-cdcd-47ce-9134-151e94c5cc33	freelancer	Write a very short freelancer-optimized bid\nClient should feel this was written by human\nStart from "Hello, \nI am Kaito from Japan"\nAnd describe experience and skills in 3~4 sentences.\nAnswer to client's questions\nChoose one randomly in below three sentences\n"I wish stars priority than money for now"\n"You'll save your time & money when give me a chance"\n"I'll do my best for make your idea to fantastic world"\nFinish with "Kind regards," or "Best regards,"\nDon't add name at the end\n=====\n{{copied_text}}	5aab988a-0656-4d0c-9888-cc478ec6bf05	2026-02-10 18:18:34.12837	2026-03-08 15:56:59.193005	freelancer
4c91a0b7-9adb-4a0b-821b-93ad2304e9c1	cw	Write bid in native JP\n=====\n{{copied_text}}	5aab988a-0656-4d0c-9888-cc478ec6bf05	2026-04-21 15:20:33.73584	2026-04-21 15:20:33.73584	cw
\.


--
-- Name: prompts PK_21f33798862975179e40b216a1d; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.prompts
    ADD CONSTRAINT "PK_21f33798862975179e40b216a1d" PRIMARY KEY (id);


--
-- Name: prompts FK_aa88f45bd24d019088a898cf66b; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.prompts
    ADD CONSTRAINT "FK_aa88f45bd24d019088a898cf66b" FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;