|
id
|
int(10) unsigned
|
|
|
|
|
name
|
varchar(255)
|
|
|
|
|
description
|
varchar(255)
|
|
|
|
|
starts_from
|
datetime
|
|
|
|
|
ends_till
|
datetime
|
|
|
|
|
status
|
tinyint(1)
|
|
|
0
|
|
coupon_type
|
int(11)
|
|
|
1
|
|
use_auto_generation
|
tinyint(1)
|
|
|
0
|
|
usage_per_customer
|
int(11)
|
|
|
0
|
|
uses_per_coupon
|
int(11)
|
|
|
0
|
|
times_used
|
int(10) unsigned
|
|
|
0
|
|
condition_type
|
tinyint(1)
|
|
|
1
|
|
conditions
|
longtext
|
|
|
|
|
end_other_rules
|
tinyint(1)
|
|
|
0
|
|
uses_attribute_conditions
|
tinyint(1)
|
|
|
0
|
|
action_type
|
varchar(255)
|
|
|
|
|
discount_amount
|
decimal(12,4)
|
|
|
0.0000
|
|
discount_quantity
|
int(11)
|
|
|
1
|
|
discount_step
|
varchar(255)
|
|
|
1
|
|
apply_to_shipping
|
tinyint(1)
|
|
|
0
|
|
free_shipping
|
tinyint(1)
|
|
|
0
|
|
sort_order
|
int(10) unsigned
|
|
|
0
|
|
created_at
|
timestamp
|
|
|
|
|
updated_at
|
timestamp
|
|
|
|