diff options
Diffstat (limited to 'planetwars-server/migrations/2022-01-02-105610_matches/up.sql')
-rw-r--r-- | planetwars-server/migrations/2022-01-02-105610_matches/up.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/migrations/2022-01-02-105610_matches/up.sql b/planetwars-server/migrations/2022-01-02-105610_matches/up.sql index 28db0df..b02ee6b 100644 --- a/planetwars-server/migrations/2022-01-02-105610_matches/up.sql +++ b/planetwars-server/migrations/2022-01-02-105610_matches/up.sql @@ -11,7 +11,7 @@ CREATE INDEX match_created_at ON matches(created_at); CREATE TABLE match_players ( match_id integer REFERENCES matches(id) NOT NULL, - bot_id integer REFERENCES bots(id) NOT NULL, player_id integer NOT NULL, + code_bundle_id integer REFERENCES code_bundles(id) NOT NULL, PRIMARY KEY (match_id, player_id) );
\ No newline at end of file |