avs-code / PREM-Podium-race-E-manager

Description PREM (Podium race e manager) is management software for races and race leagues. It can be used to create overviews of race results. Based on Paddock 7.10beta by: demontpx
https://arv187.github.io/PREM-Podium-race-E-manager/
GNU General Public License v3.0
5 stars 1 forks source link

MySQL Error: Field 'replay' doesn't have a default value #60

Open rearley opened 5 years ago

rearley commented 5 years ago

Describe the bug When adding a race, you get : MySQL Error: Field 'replay' doesn't have a default value. There appears to be two NOT NULL field on the 'race' table called 'reply' and 'simresults' but the form does not have a way to fill these out.

To Reproduce Steps to reproduce the behavior:

  1. Go to Login Admin
  2. Click on Races
  3. Click on Add Race
  4. Fill out form and click 'Add'

Expected behavior The race should be saved.

Additional context It needs to be determines if these fields are needed or not. If they are needed, then a default or a way to edit the fields is required.

avs-code commented 5 years ago

This fields "replay" and "simresults" aren't mandatory, they are to be fill when the race is over in: "Modify race results" where this fields can be edited, there you can fill results by hand or importing data from file created by the game #62, and optionally add a link to a replay and results uploaded to another optional page.