# Field 'id' doesn't have a default value

**URL:** <https://forum.gitea.com/t/field-id-doesnt-have-a-default-value/11292>\
**Category:** General\
**Created:** [May 18, 2025, 7:37am UTC](https://forum.gitea.com/t/field-id-doesnt-have-a-default-value/11292 "2025-05-18T07:37:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msauer75](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@msauer75](https://forum.gitea.com/u/msauer75)\
**Post date:** [May 18, 2025, 7:37am UTC](https://forum.gitea.com/t/field-id-doesnt-have-a-default-value/11292/1 "2025-05-18T07:37:56Z")

</div>

Hi,  
I use Gitea 1.23.7 in a docker container on my Synology NAS. The database is in a mariadb sql database. If I upload lfs files or checkin commits I will get the following error in the log:

```auto
2025/05/18 07:27:27 ...ces/feed/notifier.go:350:PushCommits() [E] NotifyWatchers: insert new actioner: Error 1364 (HY000): Field 'id' doesn't have a default value 

2025/05/18 07:22:32 ...rvices/lfs/server.go:345:UploadHandler() [E] Error whilst uploadOrVerify LFS OID[f8e42411f577913ff7f4325a0068c0f3ec2e86577a868f7eb4ecf1c86894db4a]: Error 1364 (HY000): Field 'id' doesn't have a default value

```

What can I do to avoid this error?  
Thank you for your help.  
BR  
martin
