← Shopware 6.7.7.1

Shopware 6.7.7.1 promotion_discount

Columns

13 columns

Column Type Nullable Additional
id binary(16) NO Primary Key
promotion_id binary(16) NO Index Foreign Key → promotion.id
scope varchar(32) NO
type varchar(32) NO
value double NO
created_at datetime(3) NO
updated_at datetime(3) YES
consider_advanced_rules tinyint(1) NO Default: 0
max_value float YES
sorter_key varchar(255) YES
applier_key varchar(255) YES
usage_key varchar(255) YES
picker_key varchar(255) YES

Indexes

2 indexes

Index Name Columns Unique
idx.promotion_discount.promotion_id promotion_id No
PRIMARY id Yes

Relations (from this table)

1 relations

Local Field Foreign Table Foreign Field
promotion_id promotion id

Relations (to this table)

2 relations

Local Field Foreign Table Foreign Field
id promotion_discount_prices discount_id
id promotion_discount_rule discount_id