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

Closed
doctrinebot opened this Issue Aug 17, 2014 · 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 Dec 7, 2015
@Ocramius Ocramius was assigned by doctrinebot Dec 7, 2015
@doctrinebot doctrinebot added this to the 2.5 milestone Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment