fix: add DEFAULT 0 to last_username_change column, seeder, fillable, and factory

This commit is contained in:
root
2026-05-27 20:23:06 +02:00
parent 7814176358
commit 1f9af5279a
5 changed files with 21 additions and 3 deletions
+1 -1
View File
@@ -3899,7 +3899,7 @@ CREATE TABLE `users` (
`is_hidden` tinyint(1) NOT NULL DEFAULT 0,
`home_background` varchar(255) DEFAULT NULL,
`background_card_id` int(11) NOT NULL DEFAULT 0,
`last_username_change` int(11) NOT NULL,
`last_username_change` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `username` (`username`) USING BTREE,
UNIQUE KEY `id` (`id`) USING BTREE,