f552549303
The `deleted` column in volume_type_extra_specs was as a boolean; The same column in share_type_extra_specs is an integer. However, the code migrating from volume_types to share_types assumes them to be vice-versa. This breaks downgrading from that migration. Further, the `id` column in share_type_extra_specs is a primary key field of Integer datatype. Such fields have auto-increment turned on by default; we shouldn't be copying the `id` from volume_type_extra_specs when we copy the data. Fix these bugs and add a unit test. Change-Id: Ic32a8a17b1b6a773de6dcf7792d9b37f6aed4a3c Needed-by: Ib0ad5fbfdf6297665c208149b08c8d21b3c232be Closes-Bug: 1643535 |
||
---|---|---|
.. | ||
migrations | ||
sqlalchemy | ||
__init__.py | ||
fakes.py | ||
test_api.py | ||
test_migration.py |