Created
September 6, 2020 05:32
-
-
Save rurounijones/ba630e339d6d164a4200d941a2f94b79 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 TABLE public.units | |
( | |
id text COLLATE pg_catalog."default" NOT NULL, | |
"position" geography NOT NULL, | |
altitude double precision NOT NULL 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 NOT NULL, | |
heading integer, | |
updated_at timestamp without time zone NOT NULL, | |
deleted boolean, | |
speed integer NOT NULL, | |
CONSTRAINT units_pkey PRIMARY KEY (id) | |
) | |
TABLESPACE pg_default; | |
ALTER TABLE public.units | |
OWNER to overlordbot; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment