Skip to content

Commit adde5c3

Browse files
committed
In progress
1 parent 903e0cc commit adde5c3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Domain/Analytics/Model/UserStats.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class UserStats implements DomainModel, Identity
3232
#[ORM\Column(name: 'listid', type: 'integer', options: ['default' => 0])]
3333
private int $listId = 0;
3434

35-
#[ORM\Column(name: 'value', type: 'integer', options: ['default' => 0])]
36-
private int $value = 0;
35+
#[ORM\Column(name: 'value', type: 'integer', nullable: false)]
36+
private int $value;
3737

3838
public function getId(): ?int
3939
{

src/Migrations/initial_schema.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ CREATE TABLE `phplist_listattr_becities` (
402402
`listorder` int DEFAULT '0',
403403
PRIMARY KEY (`id`),
404404
UNIQUE KEY `name` (`name`(150))
405-
) ENGINE=InnoDB AUTO_INCREMENT=2680 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
405+
) ENGINE=InnoDB AUTO_INCREMENT=2680 DEFAULT CHARSET=utf8mb4;
406406
/*!40101 SET character_set_client = @saved_cs_client */;
407407

408408
--
@@ -418,7 +418,7 @@ CREATE TABLE `phplist_listattr_termsofservice` (
418418
`listorder` int DEFAULT '0',
419419
PRIMARY KEY (`id`),
420420
UNIQUE KEY `name` (`name`(150))
421-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
421+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
422422
/*!40101 SET character_set_client = @saved_cs_client */;
423423

424424
--
@@ -434,7 +434,7 @@ CREATE TABLE `phplist_listattr_ukcounties` (
434434
`listorder` int DEFAULT '0',
435435
PRIMARY KEY (`id`),
436436
UNIQUE KEY `name` (`name`(150))
437-
) ENGINE=InnoDB AUTO_INCREMENT=184 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
437+
) ENGINE=InnoDB AUTO_INCREMENT=184 DEFAULT CHARSET=utf8mb4;
438438
/*!40101 SET character_set_client = @saved_cs_client */;
439439

440440
--
@@ -450,7 +450,7 @@ CREATE TABLE `phplist_listattr_ukcounties1` (
450450
`listorder` int DEFAULT '0',
451451
PRIMARY KEY (`id`),
452452
UNIQUE KEY `name` (`name`(150))
453-
) ENGINE=InnoDB AUTO_INCREMENT=184 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
453+
) ENGINE=InnoDB AUTO_INCREMENT=184 DEFAULT CHARSET=utf8mb4;
454454
/*!40101 SET character_set_client = @saved_cs_client */;
455455

456456
--

0 commit comments

Comments
 (0)