aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/schema.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-05-29 11:41:52 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-05-29 11:41:52 +0200
commit6e1167ee9e4ce2bef3c4a7f38efc362be1d750cd (patch)
treee50eef4b59704f552158829793c745fe90452bff /planetwars-server/src/schema.rs
parent80c60ac69c9b0d86a4536eeac82cf266eb4430bc (diff)
downloadplanetwars.dev-6e1167ee9e4ce2bef3c4a7f38efc362be1d750cd.tar.xz
planetwars.dev-6e1167ee9e4ce2bef3c4a7f38efc362be1d750cd.zip
save match winner in database
Diffstat (limited to 'planetwars-server/src/schema.rs')
-rw-r--r--planetwars-server/src/schema.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/planetwars-server/src/schema.rs b/planetwars-server/src/schema.rs
index 812e05e..be3e858 100644
--- a/planetwars-server/src/schema.rs
+++ b/planetwars-server/src/schema.rs
@@ -44,6 +44,7 @@ table! {
state -> Match_state,
log_path -> Text,
created_at -> Timestamp,
+ winner -> Nullable<Int4>,
}
}