Skip to content

Commit afb397a

Browse files
authored
Merge pull request #18 from fluffy-factory/archiveData
Archive data
2 parents 3be237d + f71d3cb commit afb397a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ user_stats:
2424
exclude_route: ["liip_imagine_filter"]
2525
user_stat_enabled: true
2626
max_month_before_archive: 6
27-
archive_enabled: false
2827
```
2928
3029
### Entity
@@ -65,14 +64,14 @@ fluffy_user_stats:
6564

6665
### Archive
6766

68-
If you have a lot of users and the data table is getting too big; you can automatically archive your data older than 6 months (by default) in a data table named **user_stats_lines_archives**.
67+
If you have a lot of users and the data table is getting too big; you can archive your data older than 6 months (by default) in a data table named **user_stats_lines_archives**.
6968

70-
To enabled archive you need to set the **archive_enabled** at true.
69+
To archive you need to use the command ```make:user:stats:archive```
7170

71+
You can change the number of months archived :
7272
```yaml
7373
# config/packages/fluffy_user_stats.yaml
7474
user_stats:
75-
archive_enabled: true
7675
# number of months before the data is archived
7776
max_month_before_archive: 6
7877
```

0 commit comments

Comments
 (0)