db_schema_whitelist.json 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. {
  2. "salesrule": {
  3. "column": {
  4. "rule_id": true,
  5. "name": true,
  6. "description": true,
  7. "from_date": true,
  8. "to_date": true,
  9. "uses_per_customer": true,
  10. "is_active": true,
  11. "conditions_serialized": true,
  12. "actions_serialized": true,
  13. "stop_rules_processing": true,
  14. "is_advanced": true,
  15. "product_ids": true,
  16. "sort_order": true,
  17. "simple_action": true,
  18. "discount_amount": true,
  19. "discount_qty": true,
  20. "discount_step": true,
  21. "apply_to_shipping": true,
  22. "times_used": true,
  23. "is_rss": true,
  24. "coupon_type": true,
  25. "use_auto_generation": true,
  26. "uses_per_coupon": true
  27. },
  28. "index": {
  29. "SALESRULE_IS_ACTIVE_SORT_ORDER_TO_DATE_FROM_DATE": true
  30. },
  31. "constraint": {
  32. "PRIMARY": true
  33. }
  34. },
  35. "salesrule_coupon": {
  36. "column": {
  37. "coupon_id": true,
  38. "rule_id": true,
  39. "code": true,
  40. "usage_limit": true,
  41. "usage_per_customer": true,
  42. "times_used": true,
  43. "expiration_date": true,
  44. "is_primary": true,
  45. "created_at": true,
  46. "type": true
  47. },
  48. "index": {
  49. "SALESRULE_COUPON_RULE_ID": true
  50. },
  51. "constraint": {
  52. "PRIMARY": true,
  53. "SALESRULE_COUPON_RULE_ID_SALESRULE_RULE_ID": true,
  54. "SALESRULE_COUPON_CODE": true,
  55. "SALESRULE_COUPON_RULE_ID_IS_PRIMARY": true
  56. }
  57. },
  58. "salesrule_coupon_usage": {
  59. "column": {
  60. "coupon_id": true,
  61. "customer_id": true,
  62. "times_used": true
  63. },
  64. "index": {
  65. "SALESRULE_COUPON_USAGE_CUSTOMER_ID": true
  66. },
  67. "constraint": {
  68. "PRIMARY": true,
  69. "SALESRULE_COUPON_USAGE_COUPON_ID_SALESRULE_COUPON_COUPON_ID": true,
  70. "SALESRULE_COUPON_USAGE_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID": true
  71. }
  72. },
  73. "salesrule_customer": {
  74. "column": {
  75. "rule_customer_id": true,
  76. "rule_id": true,
  77. "customer_id": true,
  78. "times_used": true
  79. },
  80. "index": {
  81. "SALESRULE_CUSTOMER_RULE_ID_CUSTOMER_ID": true,
  82. "SALESRULE_CUSTOMER_CUSTOMER_ID_RULE_ID": true
  83. },
  84. "constraint": {
  85. "PRIMARY": true,
  86. "SALESRULE_CUSTOMER_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID": true,
  87. "SALESRULE_CUSTOMER_RULE_ID_SALESRULE_RULE_ID": true
  88. }
  89. },
  90. "salesrule_label": {
  91. "column": {
  92. "label_id": true,
  93. "rule_id": true,
  94. "store_id": true,
  95. "label": true
  96. },
  97. "index": {
  98. "SALESRULE_LABEL_STORE_ID": true
  99. },
  100. "constraint": {
  101. "PRIMARY": true,
  102. "SALESRULE_LABEL_RULE_ID_SALESRULE_RULE_ID": true,
  103. "SALESRULE_LABEL_STORE_ID_STORE_STORE_ID": true,
  104. "SALESRULE_LABEL_RULE_ID_STORE_ID": true
  105. }
  106. },
  107. "salesrule_product_attribute": {
  108. "column": {
  109. "rule_id": true,
  110. "website_id": true,
  111. "customer_group_id": true,
  112. "attribute_id": true
  113. },
  114. "index": {
  115. "SALESRULE_PRODUCT_ATTRIBUTE_WEBSITE_ID": true,
  116. "SALESRULE_PRODUCT_ATTRIBUTE_CUSTOMER_GROUP_ID": true,
  117. "SALESRULE_PRODUCT_ATTRIBUTE_ATTRIBUTE_ID": true
  118. },
  119. "constraint": {
  120. "PRIMARY": true,
  121. "SALESRULE_PRD_ATTR_ATTR_ID_EAV_ATTR_ATTR_ID": true,
  122. "SALESRULE_PRD_ATTR_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID": true,
  123. "SALESRULE_PRODUCT_ATTRIBUTE_RULE_ID_SALESRULE_RULE_ID": true,
  124. "SALESRULE_PRODUCT_ATTRIBUTE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID": true
  125. }
  126. },
  127. "salesrule_coupon_aggregated": {
  128. "column": {
  129. "id": true,
  130. "period": true,
  131. "store_id": true,
  132. "order_status": true,
  133. "coupon_code": true,
  134. "coupon_uses": true,
  135. "subtotal_amount": true,
  136. "discount_amount": true,
  137. "total_amount": true,
  138. "subtotal_amount_actual": true,
  139. "discount_amount_actual": true,
  140. "total_amount_actual": true,
  141. "rule_name": true
  142. },
  143. "index": {
  144. "SALESRULE_COUPON_AGGREGATED_STORE_ID": true,
  145. "SALESRULE_COUPON_AGGREGATED_RULE_NAME": true
  146. },
  147. "constraint": {
  148. "PRIMARY": true,
  149. "SALESRULE_COUPON_AGGREGATED_STORE_ID_STORE_STORE_ID": true,
  150. "SALESRULE_COUPON_AGGRED_PERIOD_STORE_ID_ORDER_STS_COUPON_CODE": true
  151. }
  152. },
  153. "salesrule_coupon_aggregated_updated": {
  154. "column": {
  155. "id": true,
  156. "period": true,
  157. "store_id": true,
  158. "order_status": true,
  159. "coupon_code": true,
  160. "coupon_uses": true,
  161. "subtotal_amount": true,
  162. "discount_amount": true,
  163. "total_amount": true,
  164. "subtotal_amount_actual": true,
  165. "discount_amount_actual": true,
  166. "total_amount_actual": true,
  167. "rule_name": true
  168. },
  169. "index": {
  170. "SALESRULE_COUPON_AGGREGATED_UPDATED_STORE_ID": true,
  171. "SALESRULE_COUPON_AGGREGATED_UPDATED_RULE_NAME": true
  172. },
  173. "constraint": {
  174. "PRIMARY": true,
  175. "SALESRULE_COUPON_AGGREGATED_UPDATED_STORE_ID_STORE_STORE_ID": true,
  176. "UNQ_7196FA120A4F0F84E1B66605E87E213E": true
  177. }
  178. },
  179. "salesrule_coupon_aggregated_order": {
  180. "column": {
  181. "id": true,
  182. "period": true,
  183. "store_id": true,
  184. "order_status": true,
  185. "coupon_code": true,
  186. "coupon_uses": true,
  187. "subtotal_amount": true,
  188. "discount_amount": true,
  189. "total_amount": true,
  190. "rule_name": true
  191. },
  192. "index": {
  193. "SALESRULE_COUPON_AGGREGATED_ORDER_STORE_ID": true,
  194. "SALESRULE_COUPON_AGGREGATED_ORDER_RULE_NAME": true
  195. },
  196. "constraint": {
  197. "PRIMARY": true,
  198. "SALESRULE_COUPON_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID": true,
  199. "UNQ_1094D1FBBCBB11704A29DEF3ACC37D2B": true
  200. }
  201. },
  202. "salesrule_website": {
  203. "column": {
  204. "rule_id": true,
  205. "website_id": true
  206. },
  207. "index": {
  208. "SALESRULE_WEBSITE_WEBSITE_ID": true
  209. },
  210. "constraint": {
  211. "PRIMARY": true,
  212. "SALESRULE_WEBSITE_RULE_ID_SALESRULE_RULE_ID": true,
  213. "SALESRULE_WEBSITE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID": true
  214. }
  215. },
  216. "salesrule_customer_group": {
  217. "column": {
  218. "rule_id": true,
  219. "customer_group_id": true
  220. },
  221. "index": {
  222. "SALESRULE_CUSTOMER_GROUP_CUSTOMER_GROUP_ID": true
  223. },
  224. "constraint": {
  225. "PRIMARY": true,
  226. "SALESRULE_CUSTOMER_GROUP_RULE_ID_SALESRULE_RULE_ID": true,
  227. "SALESRULE_CSTR_GROUP_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID": true
  228. }
  229. }
  230. }