github.com/kotovmak/go-admin@v1.1.1/tests/data/admin_pg.sql (about)

     1  --
     2  -- PostgreSQL database dump
     3  --
     4  
     5  -- Dumped from database version 9.5.14
     6  -- Dumped by pg_dump version 10.5
     7  
     8  SET statement_timeout = 0;
     9  SET lock_timeout = 0;
    10  SET idle_in_transaction_session_timeout = 0;
    11  SET client_encoding = 'EUC_CN';
    12  SET standard_conforming_strings = on;
    13  SELECT pg_catalog.set_config('search_path', '', false);
    14  SET check_function_bodies = false;
    15  SET client_min_messages = warning;
    16  SET row_security = off;
    17  
    18  --
    19  -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: 
    20  --
    21  
    22  CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
    23  
    24  
    25  --
    26  -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: 
    27  --
    28  
    29  COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
    30  
    31  
    32  --
    33  -- Name: goadmin_menu_myid_seq; Type: SEQUENCE; Schema: public; Owner: postgres
    34  --
    35  
    36  CREATE SEQUENCE public.goadmin_menu_myid_seq
    37      START WITH 1
    38      INCREMENT BY 1
    39      NO MINVALUE
    40      MAXVALUE 99999999
    41      CACHE 1;
    42  
    43  
    44  ALTER TABLE public.goadmin_menu_myid_seq OWNER TO postgres;
    45  
    46  SET default_tablespace = '';
    47  
    48  SET default_with_oids = false;
    49  
    50  --
    51  -- Name: goadmin_menu; Type: TABLE; Schema: public; Owner: postgres
    52  --
    53  
    54  CREATE TABLE public.goadmin_menu (
    55      id integer DEFAULT nextval('public.goadmin_menu_myid_seq'::regclass) NOT NULL,
    56      parent_id integer DEFAULT 0 NOT NULL,
    57      type integer DEFAULT 0,
    58      "order" integer DEFAULT 0 NOT NULL,
    59      title character varying(50) NOT NULL,
    60      header character varying(100),
    61      icon character varying(50) NOT NULL,
    62      uri character varying(50) NOT NULL,
    63      uuid character varying(100),
    64      plugin_name character varying(150) NOT NULL,
    65      created_at timestamp without time zone DEFAULT now(),
    66      updated_at timestamp without time zone DEFAULT now()
    67  );
    68  
    69  
    70  ALTER TABLE public.goadmin_menu OWNER TO postgres;
    71  
    72  --
    73  -- Name: goadmin_operation_log_myid_seq; Type: SEQUENCE; Schema: public; Owner: postgres
    74  --
    75  
    76  CREATE SEQUENCE public.goadmin_operation_log_myid_seq
    77      START WITH 1
    78      INCREMENT BY 1
    79      NO MINVALUE
    80      MAXVALUE 99999999
    81      CACHE 1;
    82  
    83  
    84  ALTER TABLE public.goadmin_operation_log_myid_seq OWNER TO postgres;
    85  
    86  --
    87  -- Name: goadmin_operation_log; Type: TABLE; Schema: public; Owner: postgres
    88  --
    89  
    90  CREATE TABLE public.goadmin_operation_log (
    91      id integer DEFAULT nextval('public.goadmin_operation_log_myid_seq'::regclass) NOT NULL,
    92      user_id integer NOT NULL,
    93      path character varying(255) NOT NULL,
    94      method character varying(10) NOT NULL,
    95      ip character varying(15) NOT NULL,
    96      input text NOT NULL,
    97      created_at timestamp without time zone DEFAULT now(),
    98      updated_at timestamp without time zone DEFAULT now()
    99  );
   100  
   101  
   102  ALTER TABLE public.goadmin_operation_log OWNER TO postgres;
   103  
   104  --
   105  -- Name: goadmin_permissions_myid_seq; Type: SEQUENCE; Schema: public; Owner: postgres
   106  --
   107  
   108  CREATE SEQUENCE public.goadmin_permissions_myid_seq
   109      START WITH 1
   110      INCREMENT BY 1
   111      NO MINVALUE
   112      MAXVALUE 99999999
   113      CACHE 1;
   114  
   115  
   116  ALTER TABLE public.goadmin_permissions_myid_seq OWNER TO postgres;
   117  
   118  --
   119  -- Name: goadmin_permissions; Type: TABLE; Schema: public; Owner: postgres
   120  --
   121  
   122  CREATE TABLE public.goadmin_permissions (
   123      id integer DEFAULT nextval('public.goadmin_permissions_myid_seq'::regclass) NOT NULL,
   124      name character varying(50) NOT NULL,
   125      slug character varying(50) NOT NULL,
   126      http_method character varying(255),
   127      http_path text NOT NULL,
   128      created_at timestamp without time zone DEFAULT now(),
   129      updated_at timestamp without time zone DEFAULT now()
   130  );
   131  
   132  
   133  ALTER TABLE public.goadmin_permissions OWNER TO postgres;
   134  
   135  --
   136  -- Name: goadmin_site_myid_seq; Type: SEQUENCE; Schema: public; Owner: postgres
   137  --
   138  
   139  CREATE SEQUENCE public.goadmin_site_myid_seq
   140      START WITH 1
   141      INCREMENT BY 1
   142      NO MINVALUE
   143      MAXVALUE 99999999
   144      CACHE 1;
   145  
   146  
   147  ALTER TABLE public.goadmin_site_myid_seq OWNER TO postgres;
   148  
   149  --
   150  -- Name: goadmin_site; Type: TABLE; Schema: public; Owner: postgres
   151  --
   152  
   153  CREATE TABLE public.goadmin_site (
   154      id integer DEFAULT nextval('public.goadmin_site_myid_seq'::regclass) NOT NULL,
   155      key character varying(100) NOT NULL,
   156      value text NOT NULL,
   157      type integer DEFAULT 0,
   158      description character varying(3000),
   159      state integer DEFAULT 0,
   160      created_at timestamp without time zone DEFAULT now(),
   161      updated_at timestamp without time zone DEFAULT now()
   162  );
   163  
   164  
   165  ALTER TABLE public.goadmin_site OWNER TO postgres;
   166  
   167  --
   168  -- Name: goadmin_role_menu; Type: TABLE; Schema: public; Owner: postgres
   169  --
   170  
   171  CREATE TABLE public.goadmin_role_menu (
   172      role_id integer NOT NULL,
   173      menu_id integer NOT NULL,
   174      created_at timestamp without time zone DEFAULT now(),
   175      updated_at timestamp without time zone DEFAULT now()
   176  );
   177  
   178  
   179  ALTER TABLE public.goadmin_role_menu OWNER TO postgres;
   180  
   181  --
   182  -- Name: goadmin_role_permissions; Type: TABLE; Schema: public; Owner: postgres
   183  --
   184  
   185  CREATE TABLE public.goadmin_role_permissions (
   186      role_id integer NOT NULL,
   187      permission_id integer NOT NULL,
   188      created_at timestamp without time zone DEFAULT now(),
   189      updated_at timestamp without time zone DEFAULT now()
   190  );
   191  
   192  
   193  ALTER TABLE public.goadmin_role_permissions OWNER TO postgres;
   194  
   195  --
   196  -- Name: goadmin_role_users; Type: TABLE; Schema: public; Owner: postgres
   197  --
   198  
   199  CREATE TABLE public.goadmin_role_users (
   200      role_id integer NOT NULL,
   201      user_id integer NOT NULL,
   202      created_at timestamp without time zone DEFAULT now(),
   203      updated_at timestamp without time zone DEFAULT now()
   204  );
   205  
   206  
   207  ALTER TABLE public.goadmin_role_users OWNER TO postgres;
   208  
   209  --
   210  -- Name: goadmin_roles_myid_seq; Type: SEQUENCE; Schema: public; Owner: postgres
   211  --
   212  
   213  CREATE SEQUENCE public.goadmin_roles_myid_seq
   214      START WITH 1
   215      INCREMENT BY 1
   216      NO MINVALUE
   217      MAXVALUE 99999999
   218      CACHE 1;
   219  
   220  
   221  ALTER TABLE public.goadmin_roles_myid_seq OWNER TO postgres;
   222  
   223  --
   224  -- Name: goadmin_roles; Type: TABLE; Schema: public; Owner: postgres
   225  --
   226  
   227  CREATE TABLE public.goadmin_roles (
   228      id integer DEFAULT nextval('public.goadmin_roles_myid_seq'::regclass) NOT NULL,
   229      name character varying NOT NULL,
   230      slug character varying NOT NULL,
   231      created_at timestamp without time zone DEFAULT now(),
   232      updated_at timestamp without time zone DEFAULT now()
   233  );
   234  
   235  
   236  ALTER TABLE public.goadmin_roles OWNER TO postgres;
   237  
   238  --
   239  -- Name: goadmin_session_myid_seq; Type: SEQUENCE; Schema: public; Owner: postgres
   240  --
   241  
   242  CREATE SEQUENCE public.goadmin_session_myid_seq
   243      START WITH 1
   244      INCREMENT BY 1
   245      NO MINVALUE
   246      MAXVALUE 99999999
   247      CACHE 1;
   248  
   249  
   250  ALTER TABLE public.goadmin_session_myid_seq OWNER TO postgres;
   251  
   252  --
   253  -- Name: goadmin_session; Type: TABLE; Schema: public; Owner: postgres
   254  --
   255  
   256  CREATE TABLE public.goadmin_session (
   257      id integer DEFAULT nextval('public.goadmin_session_myid_seq'::regclass) NOT NULL,
   258      sid character varying(50) NOT NULL,
   259      "values" character varying(3000) NOT NULL,
   260      created_at timestamp without time zone DEFAULT now(),
   261      updated_at timestamp without time zone DEFAULT now()
   262  );
   263  
   264  
   265  ALTER TABLE public.goadmin_session OWNER TO postgres;
   266  
   267  --
   268  -- Name: goadmin_user_permissions; Type: TABLE; Schema: public; Owner: postgres
   269  --
   270  
   271  CREATE TABLE public.goadmin_user_permissions (
   272      user_id integer NOT NULL,
   273      permission_id integer NOT NULL,
   274      created_at timestamp without time zone DEFAULT now(),
   275      updated_at timestamp without time zone DEFAULT now()
   276  );
   277  
   278  
   279  ALTER TABLE public.goadmin_user_permissions OWNER TO postgres;
   280  
   281  --
   282  -- Name: goadmin_users_myid_seq; Type: SEQUENCE; Schema: public; Owner: postgres
   283  --
   284  
   285  CREATE SEQUENCE public.goadmin_users_myid_seq
   286      START WITH 1
   287      INCREMENT BY 1
   288      NO MINVALUE
   289      MAXVALUE 99999999
   290      CACHE 1;
   291  
   292  
   293  ALTER TABLE public.goadmin_users_myid_seq OWNER TO postgres;
   294  
   295  --
   296  -- Name: goadmin_users; Type: TABLE; Schema: public; Owner: postgres
   297  --
   298  
   299  CREATE TABLE public.goadmin_users (
   300      id integer DEFAULT nextval('public.goadmin_users_myid_seq'::regclass) NOT NULL,
   301      username character varying(190) NOT NULL,
   302      password character varying(80) NOT NULL,
   303      name character varying(255) NOT NULL,
   304      avatar character varying(255),
   305      remember_token character varying(100),
   306      created_at timestamp without time zone DEFAULT now(),
   307      updated_at timestamp without time zone DEFAULT now()
   308  );
   309  
   310  
   311  ALTER TABLE public.goadmin_users OWNER TO postgres;
   312  
   313  --
   314  -- Name: user_like_books; Type: TABLE; Schema: public; Owner: postgres
   315  --
   316  
   317  CREATE TABLE public.user_like_books (
   318      id integer,
   319      user_id integer,
   320      name character varying,
   321      created_at timestamp without time zone DEFAULT now(),
   322      updated_at timestamp without time zone DEFAULT now()
   323  );
   324  
   325  
   326  ALTER TABLE public.user_like_books OWNER TO postgres;
   327  
   328  --
   329  -- Name: users; Type: TABLE; Schema: public; Owner: postgres
   330  --
   331  
   332  CREATE TABLE public.users (
   333      id integer NOT NULL,
   334      name character varying(100),
   335      homepage character varying(3000),
   336      email character varying(100),
   337      birthday timestamp with time zone,
   338      country character varying(50),
   339      city character varying(50),
   340      password character varying(100),
   341      ip character varying(20),
   342      certificate character varying(300),
   343      money integer,
   344      resume text,
   345      gender smallint,
   346      fruit character varying(200),
   347      drink character varying(200),
   348      experience smallint,
   349      created_at timestamp without time zone DEFAULT now(),
   350      updated_at timestamp without time zone DEFAULT now(),
   351      member_id integer DEFAULT 0
   352  );
   353  
   354  
   355  ALTER TABLE public.users OWNER TO postgres;
   356  
   357  --
   358  -- Data for Name: goadmin_menu; Type: TABLE DATA; Schema: public; Owner: postgres
   359  --
   360  
   361  COPY public.goadmin_menu (id, parent_id, type, "order", title, plugin_name, header, icon, uri, created_at, updated_at) FROM stdin;
   362  1	0	1	2	Admin		\N	fa-tasks		2019-09-10 00:00:00	2019-09-10 00:00:00
   363  2	1	1	2	Users		\N	fa-users	/info/manager	2019-09-10 00:00:00	2019-09-10 00:00:00
   364  3	1	1	3	Roles		\N	fa-user	/info/roles	2019-09-10 00:00:00	2019-09-10 00:00:00
   365  4	1	1	4	Permission		\N	fa-ban	/info/permission	2019-09-10 00:00:00	2019-09-10 00:00:00
   366  5	1	1	5	Menu		\N	fa-bars	/menu	2019-09-10 00:00:00	2019-09-10 00:00:00
   367  6	1	1	6	Operation log		\N	fa-history	/info/op	2019-09-10 00:00:00	2019-09-10 00:00:00
   368  7	0	1	1	Dashboard		\N	fa-bar-chart	/	2019-09-10 00:00:00	2019-09-10 00:00:00
   369  \.
   370  
   371  
   372  --
   373  -- Data for Name: goadmin_operation_log; Type: TABLE DATA; Schema: public; Owner: postgres
   374  --
   375  
   376  COPY public.goadmin_operation_log (id, user_id, path, method, ip, input, created_at, updated_at) FROM stdin;
   377  \.
   378  
   379  
   380  --
   381  -- Data for Name: goadmin_site; Type: TABLE DATA; Schema: public; Owner: postgres
   382  --
   383  
   384  COPY public.goadmin_site (id, key, value, description, state, created_at, updated_at) FROM stdin;
   385  \.
   386  
   387  
   388  --
   389  -- Data for Name: goadmin_permissions; Type: TABLE DATA; Schema: public; Owner: postgres
   390  --
   391  
   392  COPY public.goadmin_permissions (id, name, slug, http_method, http_path, created_at, updated_at) FROM stdin;
   393  1	All permission	*		*	2019-09-10 00:00:00	2019-09-10 00:00:00
   394  2	Dashboard	dashboard	GET,PUT,POST,DELETE	/	2019-09-10 00:00:00	2019-09-10 00:00:00
   395  \.
   396  
   397  
   398  --
   399  -- Data for Name: goadmin_role_menu; Type: TABLE DATA; Schema: public; Owner: postgres
   400  --
   401  
   402  COPY public.goadmin_role_menu (role_id, menu_id, created_at, updated_at) FROM stdin;
   403  1	1	2019-09-10 00:00:00	2019-09-10 00:00:00
   404  1	7	2019-09-10 00:00:00	2019-09-10 00:00:00
   405  2	7	2019-09-10 00:00:00	2019-09-10 00:00:00
   406  \.
   407  
   408  
   409  --
   410  -- Data for Name: goadmin_role_permissions; Type: TABLE DATA; Schema: public; Owner: postgres
   411  --
   412  
   413  COPY public.goadmin_role_permissions (role_id, permission_id, created_at, updated_at) FROM stdin;
   414  1	1	2019-09-10 00:00:00	2019-09-10 00:00:00
   415  1	2	2019-09-10 00:00:00	2019-09-10 00:00:00
   416  2	2	2019-09-10 00:00:00	2019-09-10 00:00:00
   417  0	3	\N	\N
   418  0	3	\N	\N
   419  0	3	\N	\N
   420  0	3	\N	\N
   421  0	3	\N	\N
   422  0	3	\N	\N
   423  0	3	\N	\N
   424  0	3	\N	\N
   425  0	3	\N	\N
   426  0	3	\N	\N
   427  0	3	\N	\N
   428  0	3	\N	\N
   429  0	3	\N	\N
   430  0	3	\N	\N
   431  0	3	\N	\N
   432  0	3	\N	\N
   433  \.
   434  
   435  
   436  --
   437  -- Data for Name: goadmin_role_users; Type: TABLE DATA; Schema: public; Owner: postgres
   438  --
   439  
   440  COPY public.goadmin_role_users (role_id, user_id, created_at, updated_at) FROM stdin;
   441  1	1	2019-09-10 00:00:00	2019-09-10 00:00:00
   442  2	2	2019-09-10 00:00:00	2019-09-10 00:00:00
   443  \.
   444  
   445  
   446  --
   447  -- Data for Name: goadmin_roles; Type: TABLE DATA; Schema: public; Owner: postgres
   448  --
   449  
   450  COPY public.goadmin_roles (id, name, slug, created_at, updated_at) FROM stdin;
   451  1	Administrator	administrator	2019-09-10 00:00:00	2019-09-10 00:00:00
   452  2	Operator	operator	2019-09-10 00:00:00	2019-09-10 00:00:00
   453  \.
   454  
   455  
   456  --
   457  -- Data for Name: goadmin_session; Type: TABLE DATA; Schema: public; Owner: postgres
   458  --
   459  
   460  COPY public.goadmin_session (id, sid, "values", created_at, updated_at) FROM stdin;
   461  2	f5a99916-36c8-4fd6-8873-6f2be8845cd0	{"user_id":1}	2019-11-27 22:26:11.917665	2019-11-27 22:26:11.917665
   462  3	03263ffc-0043-4b89-a02f-3aa616bbf857	{"user_id":3}	2019-11-27 22:26:12.819931	2019-11-27 22:26:12.819931
   463  \.
   464  
   465  
   466  --
   467  -- Data for Name: goadmin_user_permissions; Type: TABLE DATA; Schema: public; Owner: postgres
   468  --
   469  
   470  COPY public.goadmin_user_permissions (user_id, permission_id, created_at, updated_at) FROM stdin;
   471  2	2	2019-09-10 00:00:00	2019-09-10 00:00:00
   472  0	1	\N	\N
   473  0	1	\N	\N
   474  0	1	\N	\N
   475  0	1	\N	\N
   476  0	1	\N	\N
   477  0	1	\N	\N
   478  0	1	\N	\N
   479  0	1	\N	\N
   480  0	1	\N	\N
   481  0	1	\N	\N
   482  0	1	\N	\N
   483  0	1	\N	\N
   484  0	1	\N	\N
   485  0	1	\N	\N
   486  0	1	\N	\N
   487  0	1	\N	\N
   488  1	1	2019-11-27 22:26:12.425769	2019-11-27 22:26:12.425769
   489  3	1	2019-11-27 22:26:12.572997	2019-11-27 22:26:12.572997
   490  \.
   491  
   492  
   493  --
   494  -- Data for Name: goadmin_users; Type: TABLE DATA; Schema: public; Owner: postgres
   495  --
   496  
   497  COPY public.goadmin_users (id, username, password, name, avatar, remember_token, created_at, updated_at) FROM stdin;
   498  1	admin	$2a$10$OxWYJJGTP2gi00l2x06QuOWqw5VR47MQCJ0vNKnbMYfrutij10Hwe	admin		tlNcBVK9AvfYH7WEnwB1RKvocJu8FfRy4um3DJtwdHuJy0dwFsLOgAc0xUfh	2019-09-10 00:00:00	2019-09-10 00:00:00
   499  2	operator	$2a$10$rVqkOzHjN2MdlEprRflb1eGP0oZXuSrbJLOmJagFsCd81YZm0bsh.	Operator		\N	2019-09-10 00:00:00	2019-09-10 00:00:00
   500  \.
   501  
   502  
   503  --
   504  -- Data for Name: user_like_books; Type: TABLE DATA; Schema: public; Owner: postgres
   505  --
   506  
   507  COPY public.user_like_books (id, user_id, name, created_at, updated_at) FROM stdin;
   508  1	1	Robinson Crusoe	2020-03-15 09:00:57.409596	2020-03-15 09:00:57.409596
   509  \.
   510  
   511  
   512  --
   513  -- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: postgres
   514  --
   515  
   516  COPY public.users (id, name, homepage, email, birthday, country, city, password, ip, certificate, money, resume, gender, fruit, drink, experience, created_at, updated_at, member_id) FROM stdin;
   517  1	Jack	http://jack.me	jack@163.com	1993-10-21 00:00:00+08	china	guangzhou	123456	127.0.0.1	\N	10	<h1>Jacks Resume</h1>	0	apple	water	0	2020-03-09 15:24:00	2020-03-09 15:24:00	0
   518  \.
   519  
   520  
   521  --
   522  -- Name: goadmin_menu_myid_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
   523  --
   524  
   525  SELECT pg_catalog.setval('public.goadmin_menu_myid_seq', 7, true);
   526  
   527  
   528  --
   529  -- Name: goadmin_operation_log_myid_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
   530  --
   531  
   532  SELECT pg_catalog.setval('public.goadmin_operation_log_myid_seq', 1, true);
   533  
   534  
   535  --
   536  -- Name: goadmin_permissions_myid_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
   537  --
   538  
   539  SELECT pg_catalog.setval('public.goadmin_permissions_myid_seq', 2, true);
   540  
   541  
   542  --
   543  -- Name: goadmin_roles_myid_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
   544  --
   545  
   546  SELECT pg_catalog.setval('public.goadmin_roles_myid_seq', 2, true);
   547  
   548  
   549  --
   550  -- Name: goadmin_session_myid_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
   551  --
   552  
   553  SELECT pg_catalog.setval('public.goadmin_session_myid_seq', 1, true);
   554  
   555  --
   556  -- Name: goadmin_site_myid_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
   557  --
   558  
   559  SELECT pg_catalog.setval('public.goadmin_site_myid_seq', 1, true);
   560  
   561  
   562  --
   563  -- Name: goadmin_users_myid_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
   564  --
   565  
   566  SELECT pg_catalog.setval('public.goadmin_users_myid_seq', 2, true);
   567  
   568  
   569  --
   570  -- Name: goadmin_menu goadmin_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
   571  --
   572  
   573  ALTER TABLE ONLY public.goadmin_menu
   574      ADD CONSTRAINT goadmin_menu_pkey PRIMARY KEY (id);
   575  
   576  
   577  --
   578  -- Name: goadmin_operation_log goadmin_operation_log_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
   579  --
   580  
   581  ALTER TABLE ONLY public.goadmin_operation_log
   582      ADD CONSTRAINT goadmin_operation_log_pkey PRIMARY KEY (id);
   583  
   584  
   585  --
   586  -- Name: goadmin_permissions goadmin_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
   587  --
   588  
   589  ALTER TABLE ONLY public.goadmin_permissions
   590      ADD CONSTRAINT goadmin_permissions_pkey PRIMARY KEY (id);
   591  
   592  
   593  --
   594  -- Name: goadmin_roles goadmin_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
   595  --
   596  
   597  ALTER TABLE ONLY public.goadmin_roles
   598      ADD CONSTRAINT goadmin_roles_pkey PRIMARY KEY (id);
   599  
   600  
   601  --
   602  -- Name: goadmin_site goadmin_site_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
   603  --
   604  
   605  ALTER TABLE ONLY public.goadmin_site
   606      ADD CONSTRAINT goadmin_site_pkey PRIMARY KEY (id);
   607  
   608  --
   609  -- Name: goadmin_session goadmin_session_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
   610  --
   611  
   612  ALTER TABLE ONLY public.goadmin_session
   613      ADD CONSTRAINT goadmin_session_pkey PRIMARY KEY (id);
   614  
   615  
   616  --
   617  -- Name: goadmin_users goadmin_users_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
   618  --
   619  
   620  ALTER TABLE ONLY public.goadmin_users
   621      ADD CONSTRAINT goadmin_users_pkey PRIMARY KEY (id);
   622  
   623  
   624  --
   625  -- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
   626  --
   627  
   628  ALTER TABLE ONLY public.users
   629      ADD CONSTRAINT users_pkey PRIMARY KEY (id);
   630  
   631  
   632  --
   633  -- Name: SCHEMA public; Type: ACL; Schema: -; Owner: postgres
   634  --
   635  
   636  REVOKE ALL ON SCHEMA public FROM PUBLIC;
   637  REVOKE ALL ON SCHEMA public FROM postgres;
   638  GRANT ALL ON SCHEMA public TO postgres;
   639  GRANT ALL ON SCHEMA public TO PUBLIC;
   640  
   641  
   642  --
   643  -- PostgreSQL database dump complete
   644  --
   645