Opened 3 years ago

Closed 3 years ago

#32415 closed Uncategorized (invalid)

Error occurs when migrate db: relation is not existed.

Reported by: guhaibing Owned by: nobody
Component: Migrations Version: 2.0
Severity: Normal Keywords: migrate
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 (1)

comment:1 by Mariusz Felisiak, 3 years ago

Component: UncategorizedMigrations
Resolution: invalid
Status: newclosed

Please check the documentation and don't use Trac as a support channel.

Closing per TicketClosingReasons/UseSupportChannels.

Note: See TracTickets for help on using tickets.
Back to Top