|
| 1 | +-- |
| 2 | +-- PostgreSQL database dump |
| 3 | +-- |
| 4 | + |
| 5 | +\restrict YWhz4ALTeDQK2TekRCVweACNkZvAWoY2Ni1yU5HfULcpAYfR8ccbGgFwSoWW7we |
| 6 | + |
| 7 | +-- Dumped from database version 17.10 (Debian 17.10-1.pgdg13+1) |
| 8 | +-- Dumped by pg_dump version 17.10 (Debian 17.10-1.pgdg13+1) |
| 9 | + |
| 10 | +SET statement_timeout = 0; |
| 11 | +SET lock_timeout = 0; |
| 12 | +SET idle_in_transaction_session_timeout = 0; |
| 13 | +SET transaction_timeout = 0; |
| 14 | +SET client_encoding = 'UTF8'; |
| 15 | +SET standard_conforming_strings = on; |
| 16 | +SELECT pg_catalog.set_config('search_path', '', false); |
| 17 | +SET check_function_bodies = false; |
| 18 | +SET xmloption = content; |
| 19 | +SET client_min_messages = warning; |
| 20 | +SET row_security = off; |
| 21 | + |
| 22 | +SET default_tablespace = ''; |
| 23 | + |
| 24 | +SET default_table_access_method = heap; |
| 25 | + |
| 26 | +-- |
| 27 | +-- Name: tasks; Type: TABLE; Schema: public; Owner: admin |
| 28 | +-- |
| 29 | + |
| 30 | +CREATE TABLE public.tasks ( |
| 31 | + id integer NOT NULL, |
| 32 | + title text NOT NULL, |
| 33 | + completed boolean DEFAULT false, |
| 34 | + created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP |
| 35 | +); |
| 36 | + |
| 37 | + |
| 38 | +ALTER TABLE public.tasks OWNER TO admin; |
| 39 | + |
| 40 | +-- |
| 41 | +-- Name: tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: admin |
| 42 | +-- |
| 43 | + |
| 44 | +CREATE SEQUENCE public.tasks_id_seq |
| 45 | + AS integer |
| 46 | + START WITH 1 |
| 47 | + INCREMENT BY 1 |
| 48 | + NO MINVALUE |
| 49 | + NO MAXVALUE |
| 50 | + CACHE 1; |
| 51 | + |
| 52 | + |
| 53 | +ALTER SEQUENCE public.tasks_id_seq OWNER TO admin; |
| 54 | + |
| 55 | +-- |
| 56 | +-- Name: tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: admin |
| 57 | +-- |
| 58 | + |
| 59 | +ALTER SEQUENCE public.tasks_id_seq OWNED BY public.tasks.id; |
| 60 | + |
| 61 | + |
| 62 | +-- |
| 63 | +-- Name: users; Type: TABLE; Schema: public; Owner: admin |
| 64 | +-- |
| 65 | + |
| 66 | +CREATE TABLE public.users ( |
| 67 | + id integer NOT NULL, |
| 68 | + username text NOT NULL, |
| 69 | + email text NOT NULL, |
| 70 | + created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP, |
| 71 | + phone text |
| 72 | +); |
| 73 | + |
| 74 | + |
| 75 | +ALTER TABLE public.users OWNER TO admin; |
| 76 | + |
| 77 | +-- |
| 78 | +-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: admin |
| 79 | +-- |
| 80 | + |
| 81 | +CREATE SEQUENCE public.users_id_seq |
| 82 | + AS integer |
| 83 | + START WITH 1 |
| 84 | + INCREMENT BY 1 |
| 85 | + NO MINVALUE |
| 86 | + NO MAXVALUE |
| 87 | + CACHE 1; |
| 88 | + |
| 89 | + |
| 90 | +ALTER SEQUENCE public.users_id_seq OWNER TO admin; |
| 91 | + |
| 92 | +-- |
| 93 | +-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: admin |
| 94 | +-- |
| 95 | + |
| 96 | +ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id; |
| 97 | + |
| 98 | + |
| 99 | +-- |
| 100 | +-- Name: tasks id; Type: DEFAULT; Schema: public; Owner: admin |
| 101 | +-- |
| 102 | + |
| 103 | +ALTER TABLE ONLY public.tasks ALTER COLUMN id SET DEFAULT nextval('public.tasks_id_seq'::regclass); |
| 104 | + |
| 105 | + |
| 106 | +-- |
| 107 | +-- Name: users id; Type: DEFAULT; Schema: public; Owner: admin |
| 108 | +-- |
| 109 | + |
| 110 | +ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass); |
| 111 | + |
| 112 | + |
| 113 | +-- |
| 114 | +-- Data for Name: tasks; Type: TABLE DATA; Schema: public; Owner: admin |
| 115 | +-- |
| 116 | + |
| 117 | +COPY public.tasks (id, title, completed, created_at) FROM stdin; |
| 118 | +\. |
| 119 | + |
| 120 | + |
| 121 | +-- |
| 122 | +-- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: admin |
| 123 | +-- |
| 124 | + |
| 125 | +COPY public.users (id, username, email, created_at, phone) FROM stdin; |
| 126 | +1 mark mark@example.com 2026-07-18 11:45:54.215925 09123456789 |
| 127 | +2 juan juan@example.com 2026-07-18 11:45:54.215925 09987654321 |
| 128 | +\. |
| 129 | + |
| 130 | + |
| 131 | +-- |
| 132 | +-- Name: tasks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: admin |
| 133 | +-- |
| 134 | + |
| 135 | +SELECT pg_catalog.setval('public.tasks_id_seq', 1, false); |
| 136 | + |
| 137 | + |
| 138 | +-- |
| 139 | +-- Name: users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: admin |
| 140 | +-- |
| 141 | + |
| 142 | +SELECT pg_catalog.setval('public.users_id_seq', 2, true); |
| 143 | + |
| 144 | + |
| 145 | +-- |
| 146 | +-- Name: tasks tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: admin |
| 147 | +-- |
| 148 | + |
| 149 | +ALTER TABLE ONLY public.tasks |
| 150 | + ADD CONSTRAINT tasks_pkey PRIMARY KEY (id); |
| 151 | + |
| 152 | + |
| 153 | +-- |
| 154 | +-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: admin |
| 155 | +-- |
| 156 | + |
| 157 | +ALTER TABLE ONLY public.users |
| 158 | + ADD CONSTRAINT users_pkey PRIMARY KEY (id); |
| 159 | + |
| 160 | + |
| 161 | +-- |
| 162 | +-- PostgreSQL database dump complete |
| 163 | +-- |
| 164 | + |
| 165 | +\unrestrict YWhz4ALTeDQK2TekRCVweACNkZvAWoY2Ni1yU5HfULcpAYfR8ccbGgFwSoWW7we |
| 166 | + |
0 commit comments