Migrations: custom fields missing

Hi,
when Iam migrating the customised app from dev environment to production environment, some of the custom fields are missing. Iam unable to find the reason.Please Help me.

hi @nandeep,
try the export custom field from your dev environment and import it into the production environment.
or added in hooks & try
“bench export-fixtures”

Thanks

1 Like

@sagar Do I need to mention the custom fields anywhere as such?

@nandeep,

add Custom Field in fixtures attribute in hooks.py then use command bench export-fixture to export the fixtures.

please refer

Thanks, Makarand