SQL Changes for Lamp Bloom PR (#25863)

* Changes copied from #24534

* Adds NOT NULL constraint to the new columns
This commit is contained in:
Matt
2024-06-08 22:38:46 +00:00
committed by GitHub
parent 6d8d449d10
commit e19f20ca53
4 changed files with 10 additions and 2 deletions
+2
View File
@@ -280,6 +280,8 @@ CREATE TABLE `player` (
`toggles` int(11) DEFAULT NULL,
`toggles_2` int(11) DEFAULT NULL,
`sound` mediumint(8) DEFAULT '31',
`light` MEDIUMINT(3) NOT NULL DEFAULT '7',
`glowlevel` TINYINT(1) NOT NULL DEFAULT '1',
`volume_mixer` LONGTEXT COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lastchangelog` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`exp` LONGTEXT COLLATE utf8mb4_unicode_ci DEFAULT NULL,