Create migration for main entities.