I think that this table: https://github.com/RailsEventStore/ecommerce/tree/master/ecommerce/ordering is out of sync with the code.