Problemas resolvidos
Some checks failed
Creates a docker image for production / Deploy (push) Has been cancelled
Creates a docker image for production / Build the docker image (push) Has been cancelled
Build / Code quality (push) Has been cancelled

This commit is contained in:
2025-02-05 10:04:42 -03:00
parent f3e0e60048
commit 8bcc4e4373
8 changed files with 61 additions and 30 deletions

View File

@@ -1,7 +1,6 @@
from enum import IntEnum
from django.db import models
from django_mysql.models import JSONField
from internal.utils import empty_list
@@ -33,8 +32,8 @@ class Game(models.Model):
cols = models.PositiveIntegerField('Board cols', default=10, help_text="Board's total columns")
mines = models.PositiveIntegerField('Mines on board', default=5, help_text="Board's total placed mines")
board = JSONField('Generated board', default=empty_list, help_text='The generated board game')
board_progress = JSONField(
board = models.JSONField('Generated board', default=empty_list, help_text='The generated board game')
board_progress = models.JSONField(
'Progress board',
default=empty_list,
help_text='This board is updated at each GameEvent recorded',