-
Notifications
You must be signed in to change notification settings - Fork 12
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
is there a reason you can't just do this #2
base: master
Are you sure you want to change the base?
Conversation
@absoIute Help Plz |
@tzt345 not here |
there's nothing stopping one from setting the default to 0 here either, but i suppose it's too late to change that 😝 Lines 308 to 309 in 4c02f9c
|
i know im years late but go to the structures button in levels tab and change the downloads and likes to 0 |
the what in the what |
i assume they're a phpmyadmin user or something lol |
I've been in gdps free hosting for 8 months. of course i know how this works |
@notqoid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a pretty solid workaround in my eyes* not gonna lie. 👍
Literally just change the default value for likes and downloads to 0. No need for a hacky workaround. Can be done in the schema or through Phpmyadmin. |
If you have an existing database affected by this, you can solve it by setting the default values for likes and downloads to 0, and the proceeding to run the following queries:
|
this would be the preferred method to this pull request, which only visually changes likes and may introduce issues in areas of the server which interact with the like counts in the db |
is there anything preventing you from just subtracting 300 from the download count and 100 from the like count in the getGJLevels and downloadGJLevel endpoints so that levels visually start at 0 downloads and 0 likes