locations


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id VARCHAR 255 null
business_entity_id VARCHAR 36 null
name VARCHAR 255 null
shedlock.name Implied Constraint R
address VARCHAR 500 √ null
city VARCHAR 100 √ null
state VARCHAR 100 √ null
postal_code VARCHAR 20 √ null
is_active BIT 1 b'1'
created_at DATETIME 26 CURRENT_TIMESTAMP(6)
updated_at DATETIME 26 √ null
created_by VARCHAR 255 √ null
updated_by VARCHAR 255 √ null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_location_active Performance Asc is_active
idx_location_city Performance Asc city
idx_location_entity Performance Asc business_entity_id
uk_business_entity_location_name Must be unique Asc/Asc business_entity_id + name

Relationships