Don't use get_or_create in migration.

Issue #226.