pets


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 pets_account_id_foreign C
contact_id INT UNSIGNED 10 null
contacts.id pets_contact_id_foreign C
pet_category_id INT UNSIGNED 10 null
pet_categories.id pets_pet_category_id_foreign C
name VARCHAR 255 null
created_at TIMESTAMP 19 null
updated_at TIMESTAMP 19 null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
pets_account_id_uuid_index Performance Asc/Asc account_id + uuid
pets_contact_id_foreign Performance Asc contact_id
pets_pet_category_id_foreign Performance Asc pet_category_id

Relationships