merging active status and adding migration for missing tables