Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-bphtb-models
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 080fc384
authored
Apr 01, 2021
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Penetapan schema untuk tabel terkait ISO8583
1 parent
8c566756
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
opensipkd/bphtb/models/iso_payment.py
opensipkd/bphtb/models/iso_reversal.py
opensipkd/bphtb/models/iso_payment.py
View file @
080fc38
...
...
@@ -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
)
...
...
opensipkd/bphtb/models/iso_reversal.py
View file @
080fc38
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment