diff --git a/app/models/payment_provider_customers/cashfree_customer.rb b/app/models/payment_provider_customers/cashfree_customer.rb index b1239cff8ad..2ca86d22399 100644 --- a/app/models/payment_provider_customers/cashfree_customer.rb +++ b/app/models/payment_provider_customers/cashfree_customer.rb @@ -10,6 +10,7 @@ class CashfreeCustomer < BaseCustomer # Table name: payment_provider_customers # # id :uuid not null, primary key +# deleted_at :datetime # settings :jsonb not null # type :string not null # created_at :datetime not null @@ -20,7 +21,7 @@ class CashfreeCustomer < BaseCustomer # # Indexes # -# index_payment_provider_customers_on_customer_id_and_type (customer_id,type) UNIQUE +# index_payment_provider_customers_on_customer_id_and_type (customer_id,type) UNIQUE WHERE (deleted_at IS NULL) # index_payment_provider_customers_on_payment_provider_id (payment_provider_id) # index_payment_provider_customers_on_provider_customer_id (provider_customer_id) # diff --git a/app/models/payment_providers/cashfree_provider.rb b/app/models/payment_providers/cashfree_provider.rb index 1788a4845a7..e5772d2e6f5 100644 --- a/app/models/payment_providers/cashfree_provider.rb +++ b/app/models/payment_providers/cashfree_provider.rb @@ -20,6 +20,7 @@ class CashfreeProvider < BaseProvider # # id :uuid not null, primary key # code :string not null +# deleted_at :datetime # name :string not null # secrets :string # settings :jsonb not null @@ -30,7 +31,7 @@ class CashfreeProvider < BaseProvider # # Indexes # -# index_payment_providers_on_code_and_organization_id (code,organization_id) UNIQUE +# index_payment_providers_on_code_and_organization_id (code,organization_id) UNIQUE WHERE (deleted_at IS NULL) # index_payment_providers_on_organization_id (organization_id) # # Foreign Keys