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

Write game category in database #416

Open
jgdhs27 opened this issue Jun 2, 2023 · 2 comments
Open

Write game category in database #416

jgdhs27 opened this issue Jun 2, 2023 · 2 comments

Comments

@jgdhs27
Copy link
Collaborator

jgdhs27 commented Jun 2, 2023

Game category (PC-98, Windows, and possibly more in the future) is currently hardcoded, but it could be in the database instead.

@32th-System
Copy link
Collaborator

You mean a database level constant (like what we do with shottypes and routes) so it can be used as a foreign key?

@n-rook
Copy link
Owner

n-rook commented Jun 3, 2023

I'm not sure if it should be a table or not. Unlike game or shot, the relationships involved are a bit less complicated, and it's not like we are likely to change it around much later. So I think it would be fine just as a data column in the game table.

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

3 participants