Update migrate and syncdb commands so they run on CMS as well, delete obsolete migrate task.
Change user to foreign key (tracks deletions).