Expected Behaviour
If an item has been added to the database more than 6 months ago it should be deleted to avoid us overloading our storage and to promote new items moving through the app.
This issue will require spiking the following questions:
- what happens if an item has been available for more than 6 months but there are active conversations relating to this issue?
- should the donor receive a notification that their item will be deleted if it is not given away soon ?
- how would we notify them of this?
Current Behaviour
Items are available on kindly until the donor removes them.
Steps to Reproduce
- In your
seed.js file manually add an entry for an item with the created_at value set to more than 6 months before
- Log in and visit your profile
- The item is still visible in your list
- Run
npx supabase status on your terminal
- Visit the
Studio Url link and navigate to Table Editor > Items
- Your Item entry is visible in the
Items table
Expected Behaviour
If an item has been added to the database more than 6 months ago it should be deleted to avoid us overloading our storage and to promote new items moving through the app.
This issue will require spiking the following questions:
Current Behaviour
Items are available on kindly until the donor removes them.
Steps to Reproduce
seed.jsfile manually add an entry for an item with thecreated_atvalue set to more than 6 months beforenpx supabase statuson your terminalStudio Urllink and navigate toTable Editor > ItemsItemstable