Re: unit testing migration code

2017-12-14 Thread Chris Withers
Has anyone done anything like an equivalent of the following but for Alembic? https://github.com/plumdog/django_migration_testcase cheers, Chris On 01/12/2017 15:06, Mike Bayer wrote: it's kind of a PITA but in Openstack we have fixtures which actually run all the alembic (or

Re: [sqlalchemy] Help writing query - "where most recent is true, but any other is false"

2017-12-14 Thread Simon King
On Wed, Dec 13, 2017 at 10:24 PM, Leo Simmons wrote: > I have a table `special_product_list` and a table > `special_product_historical_details_list` that holds information of products > over time, where there's a record in the history table every day for every > product. > > I want