filmov
tv
Golang Tutorial Extra Step #4 – Golang GORM – Incorrect datetime value

Показать описание
Today's video will talk about Golang and GORM and this issue we get with "Incorrect datetime value".
The specific error is:
gorm Incorrect datetime value: '0000-00-00' for column 'created_at'
What you're trying to do is save a struct/model/object, but it can't save it because of this error.
Hope you had fun and learned something today!
Don't forget to like, comment, and subscribe!!!
========================================================
Reference Links
========================================================
========================================================
Connect with me!
========================================================
Don't forget to like, comment, and subscribe!
The specific error is:
gorm Incorrect datetime value: '0000-00-00' for column 'created_at'
What you're trying to do is save a struct/model/object, but it can't save it because of this error.
Hope you had fun and learned something today!
Don't forget to like, comment, and subscribe!!!
========================================================
Reference Links
========================================================
========================================================
Connect with me!
========================================================
Don't forget to like, comment, and subscribe!