← Shopware 6.7.7.1

Shopware 6.7.7.1 rule_condition

Columns

10 columns

Column Type Nullable Additional
id binary(16) NO Primary Key
type varchar(255) NO
rule_id binary(16) NO Index Foreign Key → rule.id
script_id binary(16) YES Index Foreign Key → app_script_condition.id
parent_id binary(16) YES Index Foreign Key → rule_condition.id
value json YES
position int NO Default: 0
custom_fields json YES
created_at datetime(3) NO
updated_at datetime(3) YES

Indexes

4 indexes

Index Name Columns Unique
fk.rule_condition.parent_id parent_id No
fk.rule_condition.rule_id rule_id No
fk.rule_condition.script_id script_id No
PRIMARY id Yes

Relations (from this table)

3 relations

Local Field Foreign Table Foreign Field
parent_id rule_condition id
rule_id rule id
script_id app_script_condition id

Relations (to this table)

1 relations

Local Field Foreign Table Foreign Field
id rule_condition parent_id