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

Access matches database externally #118

Open
Skoshche opened this issue Jan 24, 2024 · 2 comments
Open

Access matches database externally #118

Skoshche opened this issue Jan 24, 2024 · 2 comments

Comments

@Skoshche
Copy link

Skoshche commented Jan 24, 2024

Hello, is there any way to access and modify the database externally?

I would like to modify the dates for the matches that took place before implementing the system but cannot find anything allowing me to do so, as well as batch edit anything else. May be a simple oversight on my part. Thanks!

@christoshrousis
Copy link
Member

christoshrousis commented Jan 25, 2024

There isn't currently a way to import matches. It is running a postgresql instance, and you can theoretically connect to the database and attempt to insert records. But the problem is that the ELO rankings won't get calculated.

If you don't have a lot of records, I suggest trying to enter them manually if possible, or just use the system for only new matches moving forward?

I guess this would make a good feature for people to be able to bulk import matches that have historically occurred.

@Skoshche
Copy link
Author

Yeah sadly that's about what I expected and where I was getting hung up on my own program for this same sort of thing
Only way I could think to solve it was having it possible to change dates but only to a date before the previous and after the last, keep the calculation order

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

No branches or pull requests

2 participants