Use Procrastinate migrations with Django

Procrastinate comes with its own migrations so don’t forget to run ./ migrate.

Procrastinate provides 2 kinds of migrations:

  • The Django equivalent of the procrastinate normal migrations, which are used to create all of the PostgreSQL DDL objects used by Procrastinate.

  • Specific noop migrations used for Django to understand the Procrastinate Models (see Interact with Procrastinate tables as Django models).

Procrastinate’s Django migrations are always kept in sync with your current version of Procrastinate, it’s always a good idea to check the release notes and read the migrations when upgrading so that you know what will be happening to the database.

See Migrate the Procrastinate schema for more information on migrations.