Commit 080fc384 by Owo Sugiana

Penetapan schema untuk tabel terkait ISO8583

1 parent 8c566756
...@@ -16,6 +16,10 @@ class IsoPaymentMixin: ...@@ -16,6 +16,10 @@ class IsoPaymentMixin:
return 'bphtb_payment' return 'bphtb_payment'
@declared_attr @declared_attr
def __table_args__(self):
return dict(schema='bphtb')
@declared_attr
def id(self): def id(self):
return Column( return Column(
Integer, ForeignKey('bphtb.bphtb_bank.id'), primary_key=True) Integer, ForeignKey('bphtb.bphtb_bank.id'), primary_key=True)
......
...@@ -15,6 +15,10 @@ class IsoReversalMixin: ...@@ -15,6 +15,10 @@ class IsoReversalMixin:
return 'bphtb_reversal' return 'bphtb_reversal'
@declared_attr @declared_attr
def __table_args__(self):
return dict(schema='bphtb')
@declared_attr
def id(self): def id(self):
return Column( return Column(
Integer, ForeignKey('bphtb.bphtb_payment.id'), primary_key=True) 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!