diff --git a/Website/api/v4/classes/ContentPack.php b/Website/api/v4/classes/ContentPack.php index bbd85eb69..39b5a7c20 100644 --- a/Website/api/v4/classes/ContentPack.php +++ b/Website/api/v4/classes/ContentPack.php @@ -63,7 +63,7 @@ public static function BuildDatabaseSchema(): DatabaseSchema { new DatabaseObjectProperty('isOfficial', ['columnName' => 'is_official', 'editable' => DatabaseObjectProperty::kEditableNever]), new DatabaseObjectProperty('isIncludedInDeltas', ['columnName' => 'include_in_deltas', 'editable' => DatabaseObjectProperty::kEditableNever]), new DatabaseObjectProperty('gameSpecific', ['columnName' => 'game_specific', 'editable' => DatabaseObjectProperty::kEditableNever]), - new DatabaseObjectProperty('slug', ['editable' => DatabaseObjectProperty::kEditableAtCreation]), + new DatabaseObjectProperty('slug', ['editable' => DatabaseObjectProperty::kEditableAtCreation, 'required' => false]), new DatabaseObjectProperty('required', ['editable' => DatabaseObjectProperty::kEditableNever]), ]); }