[DBAL-384] Missing TIMESTAMP support Created: 16/Nov/12 Updated: 27/Apr/13 Resolved: 27/Apr/13 |
|
| Status: | Resolved |
| Project: | Doctrine DBAL |
| Component/s: | None |
| Affects Version/s: | 2.0, 2.1, 2.2, 2.3 |
| Fix Version/s: | 2.2.2 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Harrie Bos | Assignee: | Benjamin Eberlei |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
Here's a fix to add support for a TIMESTAMP field in the database. |
| Comments |
| Comment by Florin Patan [ 18/Nov/12 ] |
|
@Benjamin should I create a PR for this on GH? |
| Comment by Harrie Bos [ 18/Nov/12 ] |
|
I think it should be fixed in one of the next releases |
| Comment by frank [ 26/Apr/13 ] |
|
this aint working.. further more i used... http://www.doctrine-project.org/jira/secure/attachment/11350/timestamp.patch which includes a bit more.. like the actual timestamp.php but still getting error Could not convert database value "0000000016E2BCF7" to Doctrine Type timestamp. Expected format: Y-m-d H:i:s 500 Internal Server Error - ConversionException |
| Comment by Benjamin Eberlei [ 27/Apr/13 ] |
|
Please add this as a custom type to your own project if you need it, this is not going to be part of DBAL Core |