Migrations
Features
Postgres Connector
Breaking compatibility ⚠️
Now, to setup your postgres connector you can do:
connector = procrastinate.PostgresConnector(
dsn="postgres://user:password@host:port/dbname"
)
# or if you already have an aiopg pool:
connector = procrastinate.PostgresConnector()
connector.set_pool(my_pool)
Associated PRs:
- Remove PostgresJobStore (compatibility layer) #188
- Create aiopg pool lazily #185
- Use a pool instead of a single connection, and reorganize the worker around that #173
Docker
- Adding a first version of dockerized development environment. #144
- add POSTGRES_PASSWORD to docker-compose.yml and in contributing documentation #177
Logs
Migrations
- Renaming Migrator as SchemaManager #161
- Derive schema version from migration scripts #162
- Improve our migration story #167
Documentation
- Reword migration section of contributing guide #168
- Add a "Set database schema" how-to #169
- Add a "Use Pum for migrations" how-to #170