mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
SQL Changes for Lamp Bloom PR (#25863)
* Changes copied from #24534 * Adds NOT NULL constraint to the new columns
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# Updating SQL from 56 to 57 - MrRomainzZ and Burza
|
||||
# Add light settings to player preferences
|
||||
|
||||
ALTER TABLE `player`
|
||||
ADD COLUMN `light` MEDIUMINT(3) NOT NULL DEFAULT '7' AFTER `sound`,
|
||||
ADD COLUMN `glowlevel` TINYINT(1) NOT NULL DEFAULT '1' AFTER `light`;
|
||||
Reference in New Issue
Block a user