mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	fix(cads_info): add extra columns to cards_info struct (#813)
This commit is contained in:
		| @ -1,4 +1,5 @@ | ||||
| use diesel::{Identifiable, Queryable}; | ||||
| use time::PrimitiveDateTime; | ||||
|  | ||||
| use crate::schema::cards_info; | ||||
|  | ||||
| @ -14,4 +15,7 @@ pub struct CardInfo { | ||||
|     pub bank_code_id: Option<String>, | ||||
|     pub bank_code: Option<String>, | ||||
|     pub country_code: Option<String>, | ||||
|     pub date_created: PrimitiveDateTime, | ||||
|     pub last_updated: Option<PrimitiveDateTime>, | ||||
|     pub last_updated_provider: Option<String>, | ||||
| } | ||||
|  | ||||
| @ -56,6 +56,9 @@ diesel::table! { | ||||
|         bank_code_id -> Nullable<Varchar>, | ||||
|         bank_code -> Nullable<Varchar>, | ||||
|         country_code -> Nullable<Varchar>, | ||||
|         date_created -> Timestamp, | ||||
|         last_updated -> Nullable<Timestamp>, | ||||
|         last_updated_provider -> Nullable<Text>, | ||||
|     } | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Narayan Bhat
					Narayan Bhat