You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating or updating ORM records with Model.create() or model.update() or by directly setting attribute does not work with SQLite database.
Expected behavior
As we have declared the datetime field in __dates__ it is expected that Masonite ORM will serialize date/datetime objects from pendulum instance before inserting records into db.
Screenshots or code snippets
Desktop (please complete the following information):
OS: MacOS
Version Big Sur
What database are you using?
Type: SQLite
Masonite ORM 2.0
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating or updating ORM records with Model.create() or model.update() or by directly setting attribute does not work with SQLite database.
Expected behavior
As we have declared the datetime field in
__dates__
it is expected that Masonite ORM will serialize date/datetime objects from pendulum instance before inserting records into db.Screenshots or code snippets
Desktop (please complete the following information):
What database are you using?
The text was updated successfully, but these errors were encountered: