Add match faction display - #18
Conversation
This will add faction reporting capability and displays the factions in the game details. /!\ Attention: - The db schema needs to be extended (add columns 'faction1' and 'faction2' to webl_games) - The config needs a new global config array $Factions (see default_config.php.dist, l. 126)
|
I had no test bed to verify its working. Is there a test installation where this could be tested? |
|
We had a dev server when we migrated to PHP7, but we haven't been using it so I shut it down. We can just test in prod. |
|
left a couple items in the code review. Code also needs a SQL update statement to update the currently live table. |
Hi, @Greg-Boggs
Where do i find the code part? ping @Greg-Boggs |
Greg-Boggs
left a comment
There was a problem hiding this comment.
left a couple items in the code review
Hi, @Greg-Boggs
I tried to find them - the review is empty for me however.Code also needs a SQL update statement to update the currently live table.
Where do i find the code part?
ping @Greg-Boggs
There is no code for this. I'll need the SQL statement so I can run it to update the database that's currently running.
I was of the impression of the code, that this is not needed in this case, because the factions go into the match details, and they are displayed by the reports pages already. If you know other places I need to adjust, please let me know. By skimming trough the code again, i just have seen that i missed to add the factions columns in the select (just fixed this by |
Oh, do I maybe misunderstood, and you meant a statement to update the schema of the current life DB? (The initial setup sql I already adjusted in the PR.) |
|
While you adjusted the provided SQL database, that only gets used by people who want to start a brand new website from scratch. Can you include the .sql file you want run against the database? |
I adressed them all I hope :)
I already gave the needed statement in my comment above. Is there any specific method you want me to include it? EDIT added an update SQL file and a short readme/description (to the admin/install folder). This way, also future DB updates can be easily handled. |
259d956 to
ef90eb0
Compare
|
Hi there, can I still do something? Is something missing still? :) |
|
Anything new here? |
This will add faction reporting capability and displays the factions in the game details.