beyond-all-reason / teiserver

Middleware server for online gaming
https://www.beyondallreason.info/
MIT License
61 stars 53 forks source link

Add replay page button on match overview page #502

Closed L-e-x-o-n closed 1 month ago

L-e-x-o-n commented 1 month ago

This is still work in progress. For this to work for older matches (currently the cleanup task removes data for older matches as part of the cleanup task) I plan to add a new column in teiserver_battle_matches table called game_id containing gameId from data.

@p2004a this might be of interest to you, potentially useful for https://github.com/beyond-all-reason/data-processing ?

(Jazcash already added a button linking to Teiserver on the replays page)

jauggy commented 1 month ago

@L-e-x-o-n if I am developing locally with an older database schema, do I need to run a command to update the schema? Should I just run mix ecto.migrate ?

L-e-x-o-n commented 1 month ago

@L-e-x-o-n if I am developing locally with an older database schema, do I need to run a command to update the schema? Should I just run mix ecto.migrate ?

Yes