mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +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,11 +1,13 @@
|
||||
use diesel::{AsChangeset, Identifiable, Insertable, Queryable};
|
||||
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
|
||||
use serde::{self, Deserialize, Serialize};
|
||||
use serde_json;
|
||||
|
||||
use crate::schema::authentication;
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Identifiable, Queryable, Serialize, Deserialize)]
|
||||
#[diesel(table_name = authentication, primary_key(authentication_id))]
|
||||
#[derive(
|
||||
Clone, Debug, Eq, PartialEq, Identifiable, Queryable, Selectable, Serialize, Deserialize,
|
||||
)]
|
||||
#[diesel(table_name = authentication, primary_key(authentication_id), check_for_backend(diesel::pg::Pg))]
|
||||
pub struct Authentication {
|
||||
pub authentication_id: String,
|
||||
pub merchant_id: String,
|
||||
|
||||
Reference in New Issue
Block a user