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