Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
18190b73
Commit
18190b73
authored
May 25, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #3473, allow precision in pgsql abstract timestamp
parent
4de6e8c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
QueryBuilder.php
framework/db/pgsql/QueryBuilder.php
+3
-3
No files found.
framework/CHANGELOG.md
View file @
18190b73
...
...
@@ -28,6 +28,7 @@ Yii Framework 2 Change Log
-
Bug #3431: Allow using extended ErrorHandler class from the app namespace (cebe)
-
Bug #3436: Fixed the issue that
`ServiceLocator`
still returns the old component after calling
`set()`
with a new definition (qiangxue)
-
Bug #3458: Fixed the bug that the image rendered by
`CaptchaAction`
was using a wrong content type (MDMunir, qiangxue)
-
Bug #3473: Allow postgreSQL to specify timestamp precision via abstract types in QueryBuilder (cebe)
-
Bug #3522: Fixed BaseFileHelper::normalizePath to allow a (.) for the current path. (skotos)
-
Bug #3548: Fixed the bug that X-Rate-Limit-Remaining header is always zero when using RateLimiter (qiangxue)
-
Bug #3564: Fixed the bug that primary key columns should not take default values from schema (qiangxue)
...
...
framework/db/pgsql/QueryBuilder.php
View file @
18190b73
...
...
@@ -30,9 +30,9 @@ class QueryBuilder extends \yii\db\QueryBuilder
Schema
::
TYPE_BIGINT
=>
'bigint'
,
Schema
::
TYPE_FLOAT
=>
'double precision'
,
Schema
::
TYPE_DECIMAL
=>
'numeric(10,0)'
,
Schema
::
TYPE_DATETIME
=>
'timestamp'
,
Schema
::
TYPE_TIMESTAMP
=>
'timestamp'
,
Schema
::
TYPE_TIME
=>
'time'
,
Schema
::
TYPE_DATETIME
=>
'timestamp
(0)
'
,
Schema
::
TYPE_TIMESTAMP
=>
'timestamp
(0)
'
,
Schema
::
TYPE_TIME
=>
'time
(0)
'
,
Schema
::
TYPE_DATE
=>
'date'
,
Schema
::
TYPE_BINARY
=>
'bytea'
,
Schema
::
TYPE_BOOLEAN
=>
'boolean'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment