Forgot to add alter lines if table already exists

This commit is contained in:
Eclipse
2022-09-04 01:48:38 -04:00
parent dc874877d7
commit 3ba56abfa8

View File

@@ -7,4 +7,11 @@ CREATE TABLE IF NOT EXISTS public.servers
current_players integer NOT NULL,
world_name text COLLATE pg_catalog."default",
land integer
)
)
ALTER TABLE IF EXISTS public.servers
ADD COLUMN land integer;
ALTER TABLE IF EXISTS public.servers
ADD COLUMN world_name text COLLATE pg_catalog."default";