orangy / squash

SQL access DSL for Kotlin
265 stars 16 forks source link

Timestamp support #2

Open juliocbcotta opened 7 years ago

juliocbcotta commented 7 years ago

Any change to get Timestamp column type support with for ON CREATE and ON UPDATE on squash?

orangy commented 7 years ago

Ooops, sorry, missed the issue because somehow was not subscribed to watch my own repo :( can you elaborate on the issue?

juliocbcotta commented 7 years ago

Well, it would be nice to have timestamps. For instance, I would like to have created_at, update_at and deleted_at at my tables. I have asked the same things at Exposed repo (https://github.com/JetBrains/Exposed/issues/89), but adding it in the framework layer opens the possibility to modify the data from somewhere else and those would not be updated.