DAddYE/mini_record — Issue #14: auto_upgrade! drops column indexes
Author: activestylus
Created: 2012-01-31 14:38:27+00:00
State: open

All my foreign key indexes are getting nuked

```
Project.auto_upgrade!
(6675.9ms) ALTER TABLE `projects` ADD `attachments_count` int(11) DEFAULT 0
(261.3ms) DROP INDEX `index_projects_on_site_id` ON `projects`
(98.4ms) DROP INDEX `index_projects_on_estimate_id` ON `projects`
(78.3ms) DROP INDEX `index_projects_on_client_id` ON `projects`
(79.3ms) DROP INDEX `index_projects_on_vendor_id` ON `projects`
(107.8ms) DROP INDEX `index_projects_on_product_id` ON `projects`
```

:(