Commit 080fc384 by Owo Sugiana

Penetapan schema untuk tabel terkait ISO8583

1 parent 8c566756
......@@ -16,6 +16,10 @@ class IsoPaymentMixin:
return 'bphtb_payment'
@declared_attr
def __table_args__(self):
return dict(schema='bphtb')
@declared_attr
def id(self):
return Column(
Integer, ForeignKey('bphtb.bphtb_bank.id'), primary_key=True)
......
......@@ -15,6 +15,10 @@ class IsoReversalMixin:
return 'bphtb_reversal'
@declared_attr
def __table_args__(self):
return dict(schema='bphtb')
@declared_attr
def id(self):
return Column(
Integer, ForeignKey('bphtb.bphtb_payment.id'), primary_key=True)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!