mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 07:55:33 +01:00
Forgot to add alter lines if table already exists
This commit is contained in:
@@ -7,4 +7,11 @@ CREATE TABLE IF NOT EXISTS public.servers
|
|||||||
current_players integer NOT NULL,
|
current_players integer NOT NULL,
|
||||||
world_name text COLLATE pg_catalog."default",
|
world_name text COLLATE pg_catalog."default",
|
||||||
land integer
|
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";
|
||||||
Reference in New Issue
Block a user