Do not refer to models in migrations.

This wreaks havoc if we later rename models, which we have.  This
should make migrations runnable from scratch on an empty DB.