# Is bulk\_create support set unique\_fields when update\_conflicts in Mysql?

**URL:** <https://forum.djangoproject.com/t/is-bulk-create-support-set-unique-fields-when-update-conflicts-in-mysql/38987>\
**Category:** Using Django\
**Created:** [February 21, 2025, 6:33am UTC](https://forum.djangoproject.com/t/is-bulk-create-support-set-unique-fields-when-update-conflicts-in-mysql/38987 "2025-02-21T06:33:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cherrymelon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/cherrymelon/32/20817_2.png) [@Cherrymelon](https://forum.djangoproject.com/u/Cherrymelon)\
**Post date:** [February 21, 2025, 6:33am UTC](https://forum.djangoproject.com/t/is-bulk-create-support-set-unique-fields-when-update-conflicts-in-mysql/38987/1 "2025-02-21T06:33:37Z")

</div>

I want to update `update_time` field when study uuid field duplicate at batch insert.But django tell me it not support .Why？  
I retrived [this post](https://stackoverflow.com/questions/77121264/how-to-config-django-to-support-bulk-create-with-mysql-upsert) ,it is a bug?
