Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin panel button to reset treatments and factors (without resetting games) #224

Open
Karakaii opened this issue Feb 19, 2021 · 1 comment

Comments

@Karakaii
Copy link
Contributor

Currently there are two buttons in the admin panel that one can use to affect the database your app is connected to:

  • Reset Games to get rid of the batches, games, and players, etc. but not the treatments and factors.
  • Reset Entire App to get rid of everything (games, treatments, factors, and else).

I have come across situations where it would be useful to have button to reset the treatments and factors without affecting the games. Otherwise I must save the data somewhere before using Reset Entire App or I need to manually go into the database to delete treatments, factors, and factor_types.

Thank you!

@npaton
Copy link
Contributor

npaton commented Feb 20, 2021

Unfortunately, games are associated to treatment, factors and game lobby configurations, we cannot delete treatments/factors and keep the corresponding games. Well, we could but we wouldn't know the treatments/factors of the games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants