Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

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

Open
rearley opened this issue Nov 23, 2018 · 1 comment
Open

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

rearley opened this issue Nov 23, 2018 · 1 comment
Labels
Milestone

Comments

@rearley
Copy link
Contributor

rearley commented Nov 23, 2018

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 avs-code added the bug label Nov 23, 2018
@avs-code avs-code added this to the v1.1.0 milestone Nov 23, 2018
@avs-code
Copy link
Owner

avs-code commented Nov 23, 2018

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.

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

No branches or pull requests

2 participants