Pau Perez
|
647a7bdddf
|
Clarify we won't use truncate_date in prod yet
We initially aimed at implementing data archiving in production reusing
this rake task but priorities have changed. It'll be just a refactor for
now.
|
2020-04-29 17:00:53 +02:00 |
|
Pau Perez
|
38ea95ea85
|
Prevent nil input to turn into 0
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
703706ee0b
|
Replace one-letter variable with full word
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
d215c76bc9
|
Make it even more explicit the action is dangerous
We're yelling at the person to make a backup before proceeding.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
e1a80edb7e
|
Carefully doc how to archive data from an instance
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
f199cb1bea
|
Warn but allow executing :truncate_data in prod
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
be123b2a72
|
Specify how much data to remove in :truncate_data
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
60d29d619f
|
Replace :truncate_data definition with new class
And cover it with a test.
|
2020-04-29 16:49:43 +02:00 |
|
luisramos0
|
b0f2e01c70
|
Delete extra inventory_units that are for some unknown reason connected to shipments of orders to delete but not to orders to delete
|
2020-02-05 16:30:14 +11:00 |
|
luisramos0
|
a98a0bd264
|
Adapt db truncate task to ofn v2 by removing db tables from v1
|
2019-09-08 14:05:49 +01:00 |
|
luisramos0
|
61433ee395
|
Make anonimize and truncate tasks respect rubocop rules
|
2019-03-21 11:16:56 +00:00 |
|
luisramos0
|
b148b9ae46
|
Remove delete addresses SQL from truncate task
|
2019-03-18 12:04:37 +00:00 |
|
luisramos0
|
8965dedfd7
|
Add sanitize and truncate tasks to support loading live data into other environments safely
|
2019-03-13 16:08:07 +00:00 |
|