Skip fixture during migarte

Is there a way to skip fixtures for a specific DocType?

For example, I have a DocType called “abc” that currently has 20 records. I created fixtures for these 20 records, but when I add a new record and attempt to migrate, it gets deleted because the fixtures do not include the newly added record. I would like to know how to skip fixture synchronization for this specific DocType.

Could you provide guidance on how to achieve this?

Hello,

You can avoid data as fixtures by managing in hook.py various method.

Check how is it done in hrms app (hrms/hrms/setup.py at develop · frappe/hrms · GitHub call by hrms/hrms/hooks.py at b5b6c63ce11a185ed1677ee7c0ca12d49415acac · frappe/hrms · GitHub or hrms/hrms/hooks.py at b5b6c63ce11a185ed1677ee7c0ca12d49415acac · frappe/hrms · GitHub)

it will use some hook and manage to deploy data data by code, and not by json fixture, and even here Frappe teams create custom field by code and not but fixtures