Skip to content

Commit

Permalink
Marking the 'slug' property as not required.
Browse files Browse the repository at this point in the history
  • Loading branch information
thommcgrath committed May 28, 2024
1 parent ad71b8c commit 66fdfb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Website/api/v4/classes/ContentPack.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
]);
}
Expand Down

0 comments on commit 66fdfb3

Please sign in to comment.