fixed migration for posts and users