ironic-inspector/ironic_inspector/migrations
Bob Fournier b76f84d4c1 Use processed bool as key in introspection_data DB table
When using store_data=database with sqlalchemy, running introspection results
in a DBDuplicateEntry error.  This happens because the query when adding an
entry uses both the primary key (uuid) and the processed flag, but the
processed flag is not a key.  This change makes it a key so that both
unprocessed and processed data can be stored in the table.

Note - since the previous migration hasn't been released yet this fixes it
without creating a new one.

Change-Id: I052594d529ae363fce50b1726169d86583bb1439
Story: #2004992
Task: #29463
2019-02-13 14:32:53 -05:00
..
versions Use processed bool as key in introspection_data DB table 2019-02-13 14:32:53 -05:00
env.py Fix pycodestyle warnings/errors now visible with hacking 1.1.0 2018-05-08 23:46:05 +02:00
script.py.mako Remove downgrades from migrations 2016-03-25 13:37:49 +02:00