Skip to content


DBAL-975: [GH-662] Allow current timestamp default to be specified for DateTimeTz type. #2221

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of sarcher:

Url: #662


Currently there is no way to specify a current timestamp as a default when using the DateTimeTz type, as it will always be quoted by the system. For example, the generated schema would have:


Instead of the correct:


This simple fix allows DateTimeTz to behave just as DateTime in this regard.


Comment created by @doctrinebot:

A related Github Pull-Request [GH-662] was closed:


Comment created by @doctrinebot:

A related Github Pull-Request [GH-662] was assigned:


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.5 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.