Correct order for compound index

The order of the index is off by one. This will speed up queries.

```
SELECT `attachinary_files`.* FROM `attachinary_files` WHERE `attachinary_files`.`attachinariable_id` = ? AND `attachinary_files`.`attachinariable_type` = ? AND `attachinary_files`.`scope` = ? LIMIT ?
```