Skip to content

Commit

Permalink
Fix SQL update since mediumtext does not allow a default
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnoble73 committed Aug 5, 2024
1 parent 149446e commit aaee169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/web/sys/DBMaintenance/library_location_updates.php
Original file line number Diff line number Diff line change
Expand Up @@ -2318,7 +2318,7 @@ function getLibraryLocationUpdates() {
'title' => 'Add field for Alternate Library Card Form Message',
'description' => 'Add field for Alternate Library Card Form Message',
'sql' => [
"ALTER TABLE library ADD COLUMN alternateLibraryCardFormMessage MEDIUMTEXT DEFAULT ''",
"ALTER TABLE library ADD COLUMN alternateLibraryCardFormMessage MEDIUMTEXT",
],
],
];
Expand Down

0 comments on commit aaee169

Please sign in to comment.