mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +08:00 
			
		
		
		
	fix(database): modified_at updated for every state change for Payment Attempts (#5312)
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		@ -1,10 +1,10 @@
 | 
			
		||||
use diesel::{Identifiable, Insertable, Queryable};
 | 
			
		||||
use diesel::{Identifiable, Insertable, Queryable, Selectable};
 | 
			
		||||
use serde::{Deserialize, Serialize};
 | 
			
		||||
 | 
			
		||||
use crate::{enums, schema::routing_algorithm};
 | 
			
		||||
 | 
			
		||||
#[derive(Clone, Debug, Identifiable, Insertable, Queryable, Serialize, Deserialize)]
 | 
			
		||||
#[diesel(table_name = routing_algorithm, primary_key(algorithm_id))]
 | 
			
		||||
#[derive(Clone, Debug, Identifiable, Insertable, Queryable, Selectable, Serialize, Deserialize)]
 | 
			
		||||
#[diesel(table_name = routing_algorithm, primary_key(algorithm_id), check_for_backend(diesel::pg::Pg))]
 | 
			
		||||
pub struct RoutingAlgorithm {
 | 
			
		||||
    pub algorithm_id: String,
 | 
			
		||||
    pub profile_id: String,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user