volentixlabsinc / venue-server

The backend services for Venue, a community engagement platform for the Volentix community
https://venue.volentix.io
MIT License
6 stars 0 forks source link

Script to clear current campaign from database #175

Closed shawnlauzon closed 6 years ago

shawnlauzon commented 6 years ago

The current server only supports one campaign at a time, and so to start a new campaign, the existing campaign needs to be removed. However, we do not want to remove all the users and force users to re-register.

Existing users in the campaign (there should be only five) should be automatically added to the new campaign. However, all of their earnings and posts should be removed.

shawnlauzon commented 6 years ago

After pressing "Clear campaign data" on dev, the leaderboard data returns a 500 error. It looks the data which was deleted is not complete. Investigating now ...

shawnlauzon commented 6 years ago

Opened #182 to track problem; closing this issue.