diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-26 22:50:38 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-26 23:01:13 -0800 |
commit | 6d9bab59919352bbdd5dd354c89c95d78a8f04a2 (patch) | |
tree | 9bee5e9a33dbda2608c997620854ee2b7349a7e5 /rust/src/database_models.rs | |
parent | 892b102d3c24cdde448d36c6ced35a75e368fe8c (diff) | |
download | fatcat-6d9bab59919352bbdd5dd354c89c95d78a8f04a2.tar.gz fatcat-6d9bab59919352bbdd5dd354c89c95d78a8f04a2.zip |
rust impl last webcapture schema tweaks
Diffstat (limited to 'rust/src/database_models.rs')
-rw-r--r-- | rust/src/database_models.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs index c913b98e..d2f6c3c2 100644 --- a/rust/src/database_models.rs +++ b/rust/src/database_models.rs @@ -305,10 +305,10 @@ pub struct WebcaptureRevCdxRow { pub id: i64, pub webcapture_rev: Uuid, pub surt: String, - pub timestamp: i64, + pub timestamp: String, pub url: String, pub mimetype: Option<String>, - pub status_code: i64, + pub status_code: Option<i64>, pub sha1: String, pub sha256: Option<String>, } @@ -318,10 +318,10 @@ pub struct WebcaptureRevCdxRow { pub struct WebcaptureRevCdxNewRow { pub webcapture_rev: Uuid, pub surt: String, - pub timestamp: i64, + pub timestamp: String, pub url: String, pub mimetype: Option<String>, - pub status_code: i64, + pub status_code: Option<i64>, pub sha1: String, pub sha256: Option<String>, } |