diff options
author | alpaylan | 2021-04-14 01:49:24 +0300 |
---|---|---|
committer | alpaylan | 2021-04-14 01:49:24 +0300 |
commit | 5f4f914fd12442b481f8ac1c6b6a4fd04182a6b6 (patch) | |
tree | 6be7464a6c971b24d8e539c3e7dc0ffb12b884fc /src/schema.rs | |
parent | fe2cd485ffed31e25d30a378dd20cba11b13dfbf (diff) | |
download | gradecoin-5f4f914fd12442b481f8ac1c6b6a4fd04182a6b6.tar.gz gradecoin-5f4f914fd12442b481f8ac1c6b6a4fd04182a6b6.tar.bz2 gradecoin-5f4f914fd12442b481f8ac1c6b6a4fd04182a6b6.zip |
start testing schema
Diffstat (limited to 'src/schema.rs')
-rw-r--r-- | src/schema.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schema.rs b/src/schema.rs index 6719722..4d2b442 100644 --- a/src/schema.rs +++ b/src/schema.rs | |||
@@ -34,7 +34,7 @@ pub fn create_database() -> Db { | |||
34 | /// - `tha`: Transaction Hash, String (custom field) | 34 | /// - `tha`: Transaction Hash, String (custom field) |
35 | /// - `iat`: Issued At, Unix Time, epoch | 35 | /// - `iat`: Issued At, Unix Time, epoch |
36 | /// - `exp`: Expiration Time, epoch | 36 | /// - `exp`: Expiration Time, epoch |
37 | #[derive(Debug, Serialize, Deserialize)] | 37 | #[derive(Debug, Serialize, Deserialize, PartialEq)] |
38 | pub struct Claims { | 38 | pub struct Claims { |
39 | pub tha: String, | 39 | pub tha: String, |
40 | pub iat: usize, | 40 | pub iat: usize, |