blink/backend/sql/3-create_organization.sql

18 lines
566 B
MySQL
Raw Normal View History

2023-10-12 12:23:18 +02:00
-- Table: public.Organization
-- DROP TABLE IF EXISTS public."Organization";
CREATE TABLE IF NOT EXISTS public."Organization"
(
id integer NOT NULL DEFAULT nextval('"Organization_id_seq"'::regclass),
name character varying(128) COLLATE pg_catalog."default" NOT NULL,
location character varying COLLATE pg_catalog."default",
description text COLLATE pg_catalog."default",
is_hiring boolean,
CONSTRAINT "Organization_pkey" PRIMARY KEY (id)
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."Organization"
OWNER to pg_database_owner;