Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rurounijones/0bf1ddbfb08c791b5b987ace130c5723 to your computer and use it in GitHub Desktop.
Save rurounijones/0bf1ddbfb08c791b5b987ace130c5723 to your computer and use it in GitHub Desktop.
-- Table: public.units
-- DROP TABLE public.units;
CREATE UNLOGGED TABLE public.units
(
id text COLLATE pg_catalog."default" NOT NULL,
"position" geography NOT NULL,
altitude double precision DEFAULT 0,
type text COLLATE pg_catalog."default",
name text COLLATE pg_catalog."default",
pilot text COLLATE pg_catalog."default",
"group" text COLLATE pg_catalog."default",
coalition integer,
heading integer,
updated_at timestamp without time zone,
deleted boolean,
speed integer,
CONSTRAINT units_pkey PRIMARY KEY (id)
)
TABLESPACE pg_default;
ALTER TABLE public.units
OWNER to postgres;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment