From 6ef6a872fe3bbe389e92145b39fd88d864f6a790 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sat, 26 Feb 2022 23:07:13 +0100 Subject: make bot owner nullable --- planetwars-server/migrations/2021-12-18-130837_bots/up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'planetwars-server/migrations/2021-12-18-130837_bots') diff --git a/planetwars-server/migrations/2021-12-18-130837_bots/up.sql b/planetwars-server/migrations/2021-12-18-130837_bots/up.sql index 27f3582..22e250b 100644 --- a/planetwars-server/migrations/2021-12-18-130837_bots/up.sql +++ b/planetwars-server/migrations/2021-12-18-130837_bots/up.sql @@ -1,6 +1,6 @@ CREATE TABLE bots ( id serial PRIMARY KEY, - owner_id integer REFERENCES users(id) NOT NULL, + owner_id integer REFERENCES users(id), name text NOT NULL ); -- cgit v1.2.3