← Shopware 6.7.7.1

Shopware 6.7.7.1 cms_block

Columns

21 columns

Column Type Nullable Additional
id binary(16) NO Primary Key
version_id binary(16) NO Primary Key, Default: 0x0FA91CE3E96A4BC2BE4BD9CE752C3425
cms_section_id binary(16) YES Index Foreign Key → cms_section.id
cms_section_version_id binary(16) NO Default: 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 Foreign Key → cms_section.version_id
position int NO
section_position varchar(50) YES Default: main
type varchar(255) NO
name varchar(255) YES
locked tinyint(1) NO Default: 0
margin_top varchar(255) YES
margin_bottom varchar(255) YES
margin_left varchar(255) YES
margin_right varchar(255) YES
background_color varchar(255) YES
background_media_id binary(16) YES Index Foreign Key → media.id
background_media_mode varchar(255) YES
visibility json YES
css_class varchar(255) YES
custom_fields json YES
created_at datetime(3) NO
updated_at datetime(3) YES

Indexes

3 indexes

Index Name Columns Unique
fk.cms_block.background_media_id background_media_id No
fk.cms_block.cms_section_id cms_section_id,cms_section_version_id No
PRIMARY id,version_id Yes

Relations (from this table)

3 relations

Local Field Foreign Table Foreign Field
background_media_id media id
cms_section_id cms_section id
cms_section_version_id cms_section version_id

Relations (to this table)

2 relations

Local Field Foreign Table Foreign Field
id cms_slot cms_block_id
version_id cms_slot cms_block_version_id