forked from torrust/torrust-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: [torrust#289] do not allow empty tag names
It was allowed to use an empty strings like "" or " " for a tag name. From now on, it's not allowed. If there are some empty names in the database, they are not renamed. A migration to rename empty names was not added because there can be more than one tag, for example: - "" - " " - " " - Etcetera We could have generated names like "no tag 1", "no tag 2", but it's not likely that admins have created empty tags.
- Loading branch information
1 parent
15ac77d
commit 01a7d2e
Showing
3 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters