Created
April 26, 2020 19:57
-
-
Save rurounijones/0bf1ddbfb08c791b5b987ace130c5723 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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