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

Request: users table in database #106

Open
gabr1sr opened this issue Jun 14, 2024 · 0 comments
Open

Request: users table in database #106

gabr1sr opened this issue Jun 14, 2024 · 0 comments
Assignees
Labels
request Request a new feature

Comments

@gabr1sr
Copy link
Owner

gabr1sr commented Jun 14, 2024

Description

Create a users table inside the database to store user-related information.

Specification

Fields

  • id => user id.
  • strikes => strike / warning counter.
  • points => bang points.

Users table

id strikes points
<snowflake> 0 5
<snowflake> 1 12

SQL

CREATE TABLE users (
       id      bigint  PRIMARY KEY,
       strikes integer NOT NULL DEFAULT 0,
       points  integer NOT NULL DEFAULT 0
)
@gabr1sr gabr1sr added the request Request a new feature label Jun 14, 2024
@gabr1sr gabr1sr self-assigned this Jun 14, 2024
@gabr1sr gabr1sr changed the title Request: user table in database Request: users table in database Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Request a new feature
Projects
None yet
Development

No branches or pull requests

1 participant