mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Fixes an SQL error from maximum name length (#16305)
* Reduces maximum name length
* Revert "Reduces maximum name length"
This reverts commit 7d0fe75c54.
* why were these in _compile_options.dm
* SQL Stuff
This commit is contained in:
@@ -24,7 +24,7 @@ CREATE TABLE `characters` (
|
||||
`ckey` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`slot` int(2) NOT NULL,
|
||||
`OOC_Notes` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`real_name` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`real_name` varchar(55) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name_is_always_random` tinyint(1) NOT NULL,
|
||||
`gender` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`age` smallint(4) NOT NULL,
|
||||
|
||||
@@ -24,7 +24,7 @@ CREATE TABLE `SS13_characters` (
|
||||
`ckey` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`slot` int(2) NOT NULL,
|
||||
`OOC_Notes` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`real_name` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`real_name` varchar(55) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name_is_always_random` tinyint(1) NOT NULL,
|
||||
`gender` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`age` smallint(4) NOT NULL,
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Updates the DB from 24 to 25 -SabreML
|
||||
# Increases the maximum length of `real_name` from 45 to 55 in the `characters` table.
|
||||
|
||||
ALTER TABLE `characters` MODIFY COLUMN `real_name` varchar(55) COLLATE utf8mb4_unicode_ci NOT NULL
|
||||
Reference in New Issue
Block a user