Properly mark the tinyint column with a comment, so that migrations can properly detect that no changes are needed

This commit is contained in:
Jan Böhmer 2023-04-09 00:04:13 +02:00
parent aaf6c37871
commit 342ed382e3
5 changed files with 83 additions and 1 deletions

View file

@ -160,7 +160,7 @@ abstract class AbstractLogEntry extends AbstractDBElement
protected ?DateTime $timestamp = null;
/** @var int The priority level of the associated level. 0 is highest, 7 lowest
* @ORM\Column(type="integer", name="level", columnDefinition="TINYINT(4) NOT NULL")
* @ORM\Column(type="tinyint", name="level", nullable=false)
*/
protected int $level;