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
e5055664
Commit
e5055664
authored
Jun 06, 2013
by
Gevik Babakhani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactored types to be compatible with 1.1
parent
e4448bec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
QueryBuilder.php
framework/yii/db/pgsql/QueryBuilder.php
+3
-3
No files found.
framework/yii/db/pgsql/QueryBuilder.php
View file @
e5055664
...
@@ -21,14 +21,14 @@ class QueryBuilder extends \yii\db\QueryBuilder
...
@@ -21,14 +21,14 @@ class QueryBuilder extends \yii\db\QueryBuilder
* @var array mapping from abstract column types (keys) to physical column types (values).
* @var array mapping from abstract column types (keys) to physical column types (values).
*/
*/
public
$typeMap
=
array
(
public
$typeMap
=
array
(
Schema
::
TYPE_PK
=>
'
big
serial not null primary key'
,
Schema
::
TYPE_PK
=>
'serial not null primary key'
,
Schema
::
TYPE_STRING
=>
'varchar'
,
Schema
::
TYPE_STRING
=>
'varchar'
,
Schema
::
TYPE_TEXT
=>
'text'
,
Schema
::
TYPE_TEXT
=>
'text'
,
Schema
::
TYPE_SMALLINT
=>
'smallint'
,
Schema
::
TYPE_SMALLINT
=>
'smallint'
,
Schema
::
TYPE_INTEGER
=>
'integer'
,
Schema
::
TYPE_INTEGER
=>
'integer'
,
Schema
::
TYPE_BIGINT
=>
'bigint'
,
Schema
::
TYPE_BIGINT
=>
'bigint'
,
Schema
::
TYPE_FLOAT
=>
'
real
'
,
Schema
::
TYPE_FLOAT
=>
'
double precision
'
,
Schema
::
TYPE_DECIMAL
=>
'
decimal
'
,
Schema
::
TYPE_DECIMAL
=>
'
numeric
'
,
Schema
::
TYPE_DATETIME
=>
'timestamp'
,
Schema
::
TYPE_DATETIME
=>
'timestamp'
,
Schema
::
TYPE_TIMESTAMP
=>
'timestamp'
,
Schema
::
TYPE_TIMESTAMP
=>
'timestamp'
,
Schema
::
TYPE_TIME
=>
'time'
,
Schema
::
TYPE_TIME
=>
'time'
,
...
...
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