Cillian O'Ruanaidh
|
a80e1b7625
|
Reduce retention period of Spree state changes and log entries from 6 to 3 months
The UK instance noticed Spree state changes and log entries seem to be filling up quite quickly.
Fixes #7123
|
2021-03-17 12:12:45 +00:00 |
|
Matt-Yorkley
|
2de54e5ae2
|
Fix updated_at issue in RemoveTransientData spec
The value in the test setup was not what was expected after the updates to touching the updated_at columns.
|
2021-01-30 13:10:38 +00:00 |
|
Matt-Yorkley
|
4f7c8062a1
|
Create class to map join table and simplify code
|
2021-01-28 21:51:50 +00:00 |
|
Matt-Yorkley
|
e6c59fbd96
|
Update data retention periods
Sessions and cart data are removed if older than 3 months, instead of 6.
|
2021-01-27 22:40:23 +00:00 |
|
Matt-Yorkley
|
0a88712926
|
Clear orphaned records in join table spree_option_value_line_items
|
2021-01-27 22:40:23 +00:00 |
|
Matt-Yorkley
|
4230d46a06
|
Remove carts older than 6 months
|
2021-01-27 22:40:23 +00:00 |
|
Pau Perez
|
f890c4a31d
|
Fix LogEntry spec
|
2020-09-08 14:12:17 +02:00 |
|
Pau Perez
|
14054f0e70
|
Move retention period to constant
There's no need to reevaluate the date 3 times, potentially leading to
edge cases.
|
2020-09-08 12:48:30 +02:00 |
|
Pau Perez
|
d525ddfe14
|
Move missing statements to where + delete_all
And fix the specs
|
2020-09-08 12:47:42 +02:00 |
|
Matt-Yorkley
|
91501f05f2
|
DRY date usage
|
2020-08-15 11:19:24 +01:00 |
|
Matt-Yorkley
|
93601ca556
|
Extract #remove_transient_data from TruncateData
|
2020-08-15 11:19:24 +01:00 |
|