--
--

\restrict hl8P9ml2L27sRXEvekGpKtbdaTMHemhQFckrpfdYIRZ2STWLagAU5J8wQuppicI


-- Started on 2026-08-12 14:11:04

SET transaction_timeout = 0;
SELECT pg_catalog.set_config('search_path', '', false);

--
-- TOC entry 858 (class 1247 OID 50751)
-- Name: FormType; Type: TYPE; Schema: public; Owner: postgres
--

CREATE TYPE public."FormType" AS ENUM (
    'CONTACT',
    'REQUEST_QUOTE'
);


ALTER TYPE public."FormType" OWNER TO postgres;



--
-- TOC entry 222 (class 1259 OID 50782)
-- Name: CareerApplication; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."CareerApplication" (
    id text NOT NULL,
    name text NOT NULL,
    phone text NOT NULL,
    email text NOT NULL,
    location text NOT NULL,
    message text,
    "resumePath" text NOT NULL,
    "resumeName" text NOT NULL,
    "createdAt" timestamp(3) without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL
);


ALTER TABLE public."CareerApplication" OWNER TO postgres;

--
-- TOC entry 220 (class 1259 OID 50755)
-- Name: ContactEnquiry; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."ContactEnquiry" (
    id text NOT NULL,
    name text NOT NULL,
    phone text NOT NULL,
    email text NOT NULL,
    location text NOT NULL,
    message text,
    "formType" public."FormType" NOT NULL,
    "createdAt" timestamp(3) without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL
);


ALTER TABLE public."ContactEnquiry" OWNER TO postgres;

--
-- TOC entry 221 (class 1259 OID 50770)
-- Name: NewsletterSubscription; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."NewsletterSubscription" (
    id text NOT NULL,
    email text NOT NULL,
    "createdAt" timestamp(3) without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL
);


ALTER TABLE public."NewsletterSubscription" OWNER TO postgres;

--
-- TOC entry 219 (class 1259 OID 50736)
-- Name: _prisma_migrations; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public._prisma_migrations (
    id character varying(36) NOT NULL,
    checksum character varying(64) NOT NULL,
    finished_at timestamp with time zone,
    migration_name character varying(255) NOT NULL,
    logs text,
    rolled_back_at timestamp with time zone,
    started_at timestamp with time zone DEFAULT now() NOT NULL,
    applied_steps_count integer DEFAULT 0 NOT NULL
);


ALTER TABLE public._prisma_migrations OWNER TO postgres;

--
-- TOC entry 5034 (class 0 OID 50782)
-- Dependencies: 222
-- Data for Name: CareerApplication; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."CareerApplication" (id, name, phone, email, location, message, "resumePath", "resumeName", "createdAt") FROM stdin;
cmso8za3k0003h0u0l7wauayz	Rithish Abinav	08778606300	rithish.pixel@gmail.com	chennai	Test	11d72425-dbd4-41f4-9680-b507fd617869-sample.pdf	sample.pdf	2026-08-11 05:56:26.72
\.


--
-- TOC entry 5032 (class 0 OID 50755)
-- Dependencies: 220
-- Data for Name: ContactEnquiry; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."ContactEnquiry" (id, name, phone, email, location, message, "formType", "createdAt") FROM stdin;
cmso8xtqc0000h0u08npv1ch3	Rithish Abinav	08778606300	rithish.pixel@gmail.com	chennai	Test	REQUEST_QUOTE	2026-08-11 05:55:18.852
\.


--
-- TOC entry 5033 (class 0 OID 50770)
-- Dependencies: 221
-- Data for Name: NewsletterSubscription; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."NewsletterSubscription" (id, email, "createdAt") FROM stdin;
cmso8yjgv0002h0u04pxbwsky	rithish.pixel@gmail.com	2026-08-11 05:55:52.207
\.


--
-- TOC entry 5031 (class 0 OID 50736)
-- Dependencies: 219
-- Data for Name: _prisma_migrations; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public._prisma_migrations (id, checksum, finished_at, migration_name, logs, rolled_back_at, started_at, applied_steps_count) FROM stdin;
63f36831-b7ca-4645-9198-6814c1333ff4	1cb43241f04f35b07ea94bac5ef911f610e66f00f87cb701ae1c75f643de9dd6	2026-08-05 18:54:48.317892+05:30	20260805000000_init	\N	\N	2026-08-05 18:54:48.30898+05:30	1
a860b501-3b97-45c1-bfd1-32bbc714768d	10ba4dcf0816c435ee454f63f90eb74c1115058978431bbba446f2fcd86ec95a	2026-08-06 11:43:01.439308+05:30	20260806000000_career_application	\N	\N	2026-08-06 11:43:01.418382+05:30	1
460a1b60-660e-448e-812a-c684af2f6f70	e96584adf0f209588dc8fa03b0d62ee6ff9f31c7f53b8611983457cf20ff5fbe	2026-08-07 15:52:34.109166+05:30	20260807000000_drop_career_position	\N	\N	2026-08-07 15:52:34.087016+05:30	1
\.


--
-- TOC entry 4883 (class 2606 OID 50798)
-- Name: CareerApplication CareerApplication_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."CareerApplication"
    ADD CONSTRAINT "CareerApplication_pkey" PRIMARY KEY (id);


--
-- TOC entry 4878 (class 2606 OID 50769)
-- Name: ContactEnquiry ContactEnquiry_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."ContactEnquiry"
    ADD CONSTRAINT "ContactEnquiry_pkey" PRIMARY KEY (id);


--
-- TOC entry 4881 (class 2606 OID 50780)
-- Name: NewsletterSubscription NewsletterSubscription_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."NewsletterSubscription"
    ADD CONSTRAINT "NewsletterSubscription_pkey" PRIMARY KEY (id);


--
-- TOC entry 4876 (class 2606 OID 50749)
-- Name: _prisma_migrations _prisma_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public._prisma_migrations
    ADD CONSTRAINT _prisma_migrations_pkey PRIMARY KEY (id);


--
-- TOC entry 4879 (class 1259 OID 50781)
-- Name: NewsletterSubscription_email_key; Type: INDEX; Schema: public; Owner: postgres
--

CREATE UNIQUE INDEX "NewsletterSubscription_email_key" ON public."NewsletterSubscription" USING btree (email);


-- Completed on 2026-08-12 14:11:04

--
--

\unrestrict hl8P9ml2L27sRXEvekGpKtbdaTMHemhQFckrpfdYIRZ2STWLagAU5J8wQuppicI

