Table testsql_comments.account_offsets Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
id int 10  √ 
z3950servers.id Implied Constraint R
unique identifier for each offset
credit_id int 10  √  null
accountlines.accountlines_id account_offsets_ibfk_p C
The id of the accountline the increased the patron's balance
debit_id int 10  √  null
accountlines.accountlines_id account_offsets_ibfk_f C
The id of the accountline that decreased the patron's balance
type varchar 16
account_offset_types.type account_offsets_ibfk_t C
The type of offset this is
amount decimal 26,6 The amount of the change
created_on timestamp 19 CURRENT_TIMESTAMP

Table contained 0 rows at Mon Jul 16 09:22 NZST 2018

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
debit_id Performance Asc account_offsets_ibfk_f
credit_id Performance Asc account_offsets_ibfk_p
type Performance Asc account_offsets_ibfk_t

Close relationships  within of separation: