Closed outersky closed 1 year ago
Hi, these two fields can be set automatically after this pr:
https://github.com/dukefirehawk/angel/pull/22
You can see the link above and check whether the version of angel_orm
is 4.0.2 or above, if any questions , please feel free to contact me and provide a simple demo if convenient.
@outersky Are you still facing this issue?
@outersky Are you still facing this issue?
@dukefirehawk I managed to make it work finally , with an explicit null assignment to that date field, but it seems that the timezone info is lost, and it uses web server's time instead of database server's current_timestamp().
PS: I'm trying to create another simple orm framework for dart : needle_orm_generator
@outersky Thanks for the feedback. Your ORM project looks great. Will be watching it. One of my goal is to evolve angel3_orm
in the direction of Spring data JPA / Hibernate.
@dukefirehawk I make the prototype run finally, all advice is welcome :)
PostgreSQL driver converts and stores datetime in UTC by default. Column
annotation has been expanded to support default value for timestamp field, i.e. @Column(defaultValue: 'now()')
Maybe these two fields should be set automatically , or is there a plugin to handle this ?