debts


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT UNSIGNED 10 null
uuid CHAR 36 null
account_id INT UNSIGNED 10 null
accounts.id debts_account_id_foreign C
contact_id INT UNSIGNED 10 null
contacts.id debts_contact_id_foreign C
in_debt VARCHAR 255 no
status VARCHAR 255 inprogress
amount INT 10 null
currency_id INT UNSIGNED 10 null
currencies.id debts_currency_id_foreign N
reason LONGTEXT 2147483647 null
created_at TIMESTAMP 19 null
updated_at TIMESTAMP 19 null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
debts_account_id_uuid_index Performance Asc/Asc account_id + uuid
debts_contact_id_foreign Performance Asc contact_id
debts_currency_id_foreign Performance Asc currency_id

Relationships