refactor(core): change primary key of refund table (#5367)

This commit is contained in:
Prajjwal Kumar
2024-07-19 13:05:27 +05:30
committed by GitHub
parent e098415bb6
commit c698921c41
4 changed files with 19 additions and 2 deletions

View File

@ -1099,7 +1099,7 @@ diesel::table! {
use diesel::sql_types::*;
use crate::enums::diesel_exports::*;
refund (id) {
refund (merchant_id, refund_id) {
id -> Int4,
#[max_length = 64]
internal_reference_id -> Varchar,

View File

@ -1097,7 +1097,7 @@ diesel::table! {
use diesel::sql_types::*;
use crate::enums::diesel_exports::*;
refund (id) {
refund (merchant_id, refund_id) {
id -> Int4,
#[max_length = 64]
internal_reference_id -> Varchar,