Skip to content

PostgreSQL migration fails on re-execution: missing IF NOT EXISTS for schema creation #45

@Himmelschmidt

Description

@Himmelschmidt

Migration 20220530084123 creates the apalis schema without the IF NOT EXISTS clause. This causes the migration to fail with 'schema apalis already exists' error when re-executed. All tables and indexes in the same migration properly use IF NOT EXISTS. The schema creation should follow the same pattern for idempotency.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions