Fix migration depending on accounts.user.

Closes #8