Skip to content

Instantly share code, notes, and snippets.

@Edijun
Created April 30, 2019 07:17
Show Gist options
  • Select an option

  • Save Edijun/dc4f91d02956a661429f01f5e2cd325c to your computer and use it in GitHub Desktop.

Select an option

Save Edijun/dc4f91d02956a661429f01f5e2cd325c to your computer and use it in GitHub Desktop.
-- Table: public.product
-- DROP TABLE public.product;
CREATE TABLE public.product
(
id character varying(10) COLLATE pg_catalog."default" NOT NULL,
name character varying(50) COLLATE pg_catalog."default",
price integer,
description character varying(100) COLLATE pg_catalog."default",
CONSTRAINT product_pkey PRIMARY KEY (id)
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTER TABLE public.product
OWNER to postgres;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment