File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
crates/storage_models/src Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
use diesel:: { Identifiable , Queryable } ;
2
+ use time:: PrimitiveDateTime ;
2
3
3
4
use crate :: schema:: cards_info;
4
5
@@ -14,4 +15,7 @@ pub struct CardInfo {
14
15
pub bank_code_id : Option < String > ,
15
16
pub bank_code : Option < String > ,
16
17
pub country_code : Option < String > ,
18
+ pub date_created : PrimitiveDateTime ,
19
+ pub last_updated : Option < PrimitiveDateTime > ,
20
+ pub last_updated_provider : Option < String > ,
17
21
}
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ diesel::table! {
56
56
bank_code_id -> Nullable <Varchar >,
57
57
bank_code -> Nullable <Varchar >,
58
58
country_code -> Nullable <Varchar >,
59
+ date_created -> Timestamp ,
60
+ last_updated -> Nullable <Timestamp >,
61
+ last_updated_provider -> Nullable <Text >,
59
62
}
60
63
}
61
64
You can’t perform that action at this time.
0 commit comments