Fix the create_moderation_tables migration to work with postgresql