urban-meal-delivery/migrations
Alexander Hess 776112d609
Add Grid.gridify() constructor
- the purpose of this constructor method is to generate all `Pixel`s
  for a `Grid` that have at least one `Address` assigned to them
- fix missing `UniqueConstraint` in `Grid` class => it was not possible
  to create two `Grid`s with the same `.side_length` in different cities
- change the `City.viewport` property into two separate `City.southwest`
  and `City.northeast` properties; also add `City.total_x` and
  `City.total_y` properties for convenience
2021-01-05 18:58:48 +01:00
..
versions Add Grid.gridify() constructor 2021-01-05 18:58:48 +01:00
env.py Add ORM models for the pixel grids 2021-01-03 19:33:36 +01:00
README.md Add database migrations 2020-08-11 10:29:58 +02:00
script.py.mako Add database migrations 2020-08-11 10:29:58 +02:00

Database Migrations

This project uses alembic to run the database migrations