diff --git a/_database/sql/migrations/2026-04-02-083548-0000_characters/up.sql b/_database/sql/migrations/2026-04-02-083548-0000_characters/up.sql index dfdf7cbf74..e348f4bcbe 100644 --- a/_database/sql/migrations/2026-04-02-083548-0000_characters/up.sql +++ b/_database/sql/migrations/2026-04-02-083548-0000_characters/up.sql @@ -13,7 +13,7 @@ CREATE TABLE characters ( token VARCHAR(32) NOT NULL, -- The type or "features" of the character. - character_type VARCHAR(24) DEFAULT NULL, + character_type VARCHAR(24) NOT NULL, -- Whether the character has been fully created and is available for use. -- A character may exist in the database before its creation job completes. @@ -22,7 +22,7 @@ CREATE TABLE characters ( -- ========== CHARACTER DETAILS ========== -- User's display name for the character. - character_name VARCHAR(255) NOT NULL, + character_name VARCHAR(255) DEFAULT NULL, -- Optional user description of the character. maybe_description VARCHAR(512) DEFAULT NULL, diff --git a/_database/sql/migrations_squashed/characters/characters.sql b/_database/sql/migrations_squashed/characters/characters.sql index 88c045fc4e..af5d4bc6e9 100644 --- a/_database/sql/migrations_squashed/characters/characters.sql +++ b/_database/sql/migrations_squashed/characters/characters.sql @@ -16,7 +16,7 @@ CREATE TABLE characters ( token VARCHAR(32) NOT NULL, -- The type or "features" of the character. - character_type VARCHAR(24) DEFAULT NULL, + character_type VARCHAR(24) NOT NULL, -- Whether the character has been fully created and is available for use. -- A character may exist in the database before its creation job completes. @@ -25,7 +25,7 @@ CREATE TABLE characters ( -- ========== CHARACTER DETAILS ========== -- Display name for the character. - character_name VARCHAR(255) NOT NULL, + character_name VARCHAR(255) DEFAULT NULL, -- Optional description of the character. maybe_description VARCHAR(512) DEFAULT NULL,