-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import: Fix import of Stream.creator field.
When importing a Stream, UserProfiles don't yet exist. so trying to import stream.creator fails with something like: ``` psycopg2.errors.ForeignKeyViolation: insert or update on table "zerver_stream" violates foreign key constraint "zerver_stream_creator_id_65aeba7e_fk_zerver_userprofile_id" DETAIL: Key (creator_id)=(5) is not present in table "zerver_userprofile". ```
- Loading branch information
1 parent
2e8fdab
commit 160076f
Showing
2 changed files
with
28 additions
and
0 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