urban-meal-delivery/migrations
Alexander Hess e4e543bd40
Add ORM models for the simulation data
- add new ORM models `ReplaySimulation` and `ReplayedOrder`
  to store the data generated by the routing simulations
- add migrations script to create the corresponding database tables
  + create "replay_simulations" and "replayed_orders" tables
  + add missing check constraints to "orders" table
  + add unique constraint to "orders" table to enable compound key
  + drop unnecessary check constraints from the "orders" table
- add tests for the new ORM models
  + add `simulation`, `replayed_order`, `make_replay_order()`, and
    `pre_order` fixtures
  + add `ReplayedOrderFactor` faker class
- fix some typos
2021-09-16 11:58:55 +02:00
..
versions Add ORM models for the simulation data 2021-09-16 11:58:55 +02:00
env.py Add confidence intervals to Forecast model 2021-01-20 16:57:39 +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