--
-- NrtdayQL database dump
--


-- Started on 2025-10-16 23:17:51

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



--
-- TOC entry 274 (class 1259 OID 182266)
-- Name: admins; Type: TABLE; Schema: nrtday; Owner: nrtday
--

CREATE TABLE nrtday.admins (
    username character varying(50) NOT NULL,
    password character varying(255) NOT NULL,
    created_at timestamp without time zone DEFAULT now(),
    email character varying(255),
    admin_id uuid DEFAULT gen_random_uuid() NOT NULL
);


ALTER TABLE nrtday.admins OWNER TO nrtday;

--
-- TOC entry 5147 (class 0 OID 182266)
-- Dependencies: 274
-- Data for Name: admins; Type: TABLE DATA; Schema: nrtday; Owner: nrtday
--

COPY nrtday.admins (username, password, created_at, email, admin_id) FROM stdin;
Admin_user	$2y$12$ud9dMgsDXzmn1Wd2iMJBkOUHONZXg93FPiNGA5nRqMOFk/7OysClq	2025-10-10 13:37:44.34753	admin1@gmail.com	4648dfcb-3ec7-4359-905e-3a8497083d79
\.


--
-- TOC entry 4999 (class 2606 OID 183089)
-- Name: admins admins_pkey; Type: CONSTRAINT; Schema: nrtday; Owner: nrtday
--

ALTER TABLE ONLY nrtday.admins
    ADD CONSTRAINT admins_pkey PRIMARY KEY (admin_id);


--
-- TOC entry 5001 (class 2606 OID 182722)
-- Name: admins admins_username_key; Type: CONSTRAINT; Schema: nrtday; Owner: nrtday
--

ALTER TABLE ONLY nrtday.admins
    ADD CONSTRAINT admins_username_key UNIQUE (username);


-- Completed on 2025-10-16 23:17:51

--
-- NrtdayQL database dump complete
--

