fix attachment_default migration

Fix provided by @scarabeusiv (http://dpaste.com/273NBQC)