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

@@ -8,3 +8,10 @@ CREATE TABLE IF NOT EXISTS public.servers
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";