diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-26 23:07:13 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-27 14:51:32 +0100 |
commit | 6ef6a872fe3bbe389e92145b39fd88d864f6a790 (patch) | |
tree | 6db40ec6f0cb91b9262aabaa3c4134a680a8803c /planetwars-server/migrations/2021-12-18-130837_bots/up.sql | |
parent | 29bd21e489cdda2aaf807c66198f112f8ac0f7d5 (diff) | |
download | planetwars.dev-6ef6a872fe3bbe389e92145b39fd88d864f6a790.tar.xz planetwars.dev-6ef6a872fe3bbe389e92145b39fd88d864f6a790.zip |
make bot owner nullable
Diffstat (limited to 'planetwars-server/migrations/2021-12-18-130837_bots/up.sql')
-rw-r--r-- | planetwars-server/migrations/2021-12-18-130837_bots/up.sql | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |