blink/backend/sql/3-create_organization.sql

17 lines
464 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 SERIAL PRIMARY KEY,
2023-10-12 12:23:18 +02:00
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
2023-10-12 12:23:18 +02:00
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."Organization"
OWNER to pg_database_owner;