#32422 closed Bug (duplicate)
Error occurs when migrate db: relation is not existed.
Reported by: | guhaibing | Owned by: | nobody |
---|---|---|---|
Component: | Migrations | Version: | 2.0 |
Severity: | Normal | Keywords: | migrate relation |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
We migrated db when the docker container start,but database closed connection before migrate finished becasue of some known issues。
Then we try aganin, and django report error: relation is not existed。
I think there was some data lost when the database error,and want to know how to avoid this error。
Can we add database transaction althrough the migrate proccess? All success or All fail.
Change History (7)
follow-up: 2 comment:1 by , 4 years ago
comment:2 by , 4 years ago
That was closed by someone.
Replying to Chris Jerdonek:
This looks like a copy-paste of #32415, and by the same person.
follow-up: 5 comment:3 by , 4 years ago
That was closed by someone.
It was. Did you read the reason why? If someone closes your issue, you shouldn't recreate it. If you disagree with them, you should reply in the original issue.
comment:4 by , 4 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
See #32415 for why this is invalid.
comment:5 by , 4 years ago
He only said don't, but no how.
English is hard to me, I spend 2 days to find the entry of trace report, but no result.
Can you give the entry?Thanks.
Replying to Chris Jerdonek:
That was closed by someone.
It was. Did you read the reason why? If someone closes your issue, you shouldn't recreate it. If you disagree with them, you should reply in the original issue.
comment:6 by , 4 years ago
He said if you need help, this isn't the place to ask. He said you should read this page if you need help:
https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
It has a link at the end.
This looks like a copy-paste of #32415, and by the same person.