aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/migrations/2021-12-18-130837_bots
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-server/migrations/2021-12-18-130837_bots')
-rw-r--r--planetwars-server/migrations/2021-12-18-130837_bots/up.sql2
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 22e250b..a23fbf7 100644
--- a/planetwars-server/migrations/2021-12-18-130837_bots/up.sql
+++ b/planetwars-server/migrations/2021-12-18-130837_bots/up.sql
@@ -8,7 +8,7 @@ CREATE UNIQUE INDEX bots_index ON bots(owner_id, name);
CREATE TABLE code_bundles (
id serial PRIMARY KEY,
- bot_id integer REFERENCES bots(id) NOT NULL,
+ bot_id integer REFERENCES bots(id),
path text NOT NULL,
created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
); \ No newline at end of file