We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ ERROR ] [Migrator] Failed revert [database-id: psql, error: PSQLError(code: server, serverInfo: [sqlState: 42710, file: tablecmds.c, line: 8767, message: constraint "fk:streamphoto.at_event+streamphoto.id" for relation "streamphoto" already exists, routine: ATExecAddConstraint, localizedSeverity: ERROR, severity: ERROR], triggeredFromRequestInFile: PostgresKit/PostgresDatabase+SQL.swift, line: 57, query: PostgresQuery(sql: ALTER TABLE "streamphoto" ADD CONSTRAINT "fk:streamphoto.at_event+streamphoto.id" FOREIGN KEY ("at_event") REFERENCES "event" ("id") ON DELETE NO ACTION ON UPDATE NO ACTION, binds: [])), migration: swiftarr.StreamPhotoSchemaV2]
The text was updated successfully, but these errors were encountered:
Fixes #345.
cb78ee1
Fixes a few migration reverts.
fc6f51a
No branches or pull requests
[ ERROR ] [Migrator] Failed revert [database-id: psql, error: PSQLError(code: server, serverInfo: [sqlState: 42710, file: tablecmds.c, line: 8767, message: constraint "fk:streamphoto.at_event+streamphoto.id" for relation "streamphoto" already exists, routine: ATExecAddConstraint, localizedSeverity: ERROR, severity: ERROR], triggeredFromRequestInFile: PostgresKit/PostgresDatabase+SQL.swift, line: 57, query: PostgresQuery(sql: ALTER TABLE "streamphoto" ADD CONSTRAINT "fk:streamphoto.at_event+streamphoto.id" FOREIGN KEY ("at_event") REFERENCES "event" ("id") ON DELETE NO ACTION ON UPDATE NO ACTION, binds: [])), migration: swiftarr.StreamPhotoSchemaV2]
The text was updated successfully, but these errors were encountered: