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

Rename fields in users database schema #32

Open
jorgeberrex opened this issue Jun 21, 2020 · 0 comments
Open

Rename fields in users database schema #32

jorgeberrex opened this issue Jun 21, 2020 · 0 comments

Comments

@jorgeberrex
Copy link
Contributor

In efforts to be consistent with a single naming convention, some fields need to be renamed
wool_destroys -> monumentDestroys
wool_pickups -> woolPickups
wool_placements -> woolPlacements

These should ideally be eventually moved into gamemode specific stat sections, along the lines of:

{
    "name": "Notch",
    "kills": 100,
    "deaths": 38579,
    ...
    "gamemodes": {
        "DTM": {
            "monumentDestroys": 15
        },
        "CTW": {
            "woolPickups": 24,
            "woolPlacements": 9,
        },
        ...
    }
}
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

1 participant