Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

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

Url: #662

Message:

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:

DEFAULT 'NOW()'

Instead of the correct:

DEFAULT NOW()

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

@doctrinebot

Comment created by @doctrinebot:

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

@doctrinebot

Comment created by @doctrinebot:

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

@doctrinebot

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.