Hide Forgot
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/db-unique-keys. Description: - add unique indexes on (`col`,`deleted`), and set `deleted`=`id` instead of `deleted`=1 after delete. - handle duplicate key errors. - add missing unique constraints to models. - add proper migrations. Specification URL (additional information): None