Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stream and default stream creation (#3152)
* Make sure that the stream object is created with an index set This makes it possible to use `#getIndexSet()` on the newly created stream. * Unbreak default stream creation migration The default stream couldn't be created in a new installation because the required `index_set_id` field was missing. Change order of migrations so the default stream migration runs after the default index set has been created. Also avoid using the `Persisted#saveWithoutValidation()` method because it doesn't do what it says. It just ignores the validation exception thrown by `#save()`. * Fix creation time of default stream migration
- Loading branch information
Showing
5 changed files
with
71 additions
and
16 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
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