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
0bf2dadd
Commit
0bf2dadd
authored
Sep 13, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed querybuilder typemap to lower case
parent
3e5491e0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
QueryBuilder.php
framework/yii/db/cubrid/QueryBuilder.php
+1
-1
QueryBuilder.php
framework/yii/db/mssql/QueryBuilder.php
+1
-1
QueryBuilder.php
framework/yii/db/mysql/QueryBuilder.php
+1
-1
QueryBuilder.php
framework/yii/db/sqlite/QueryBuilder.php
+1
-1
No files found.
framework/yii/db/cubrid/QueryBuilder.php
View file @
0bf2dadd
...
@@ -21,7 +21,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
...
@@ -21,7 +21,7 @@ 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
=>
'int
NOT NULL AUTO_INCREMENT PRIMARY KEY
'
,
Schema
::
TYPE_PK
=>
'int
not null auto_increment primary key
'
,
Schema
::
TYPE_STRING
=>
'varchar(255)'
,
Schema
::
TYPE_STRING
=>
'varchar(255)'
,
Schema
::
TYPE_TEXT
=>
'varchar'
,
Schema
::
TYPE_TEXT
=>
'varchar'
,
Schema
::
TYPE_SMALLINT
=>
'smallint'
,
Schema
::
TYPE_SMALLINT
=>
'smallint'
,
...
...
framework/yii/db/mssql/QueryBuilder.php
View file @
0bf2dadd
...
@@ -21,7 +21,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
...
@@ -21,7 +21,7 @@ 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
=>
'int
IDENTITY PRIMARY KEY
'
,
Schema
::
TYPE_PK
=>
'int
identity primary key
'
,
Schema
::
TYPE_STRING
=>
'varchar(255)'
,
Schema
::
TYPE_STRING
=>
'varchar(255)'
,
Schema
::
TYPE_TEXT
=>
'text'
,
Schema
::
TYPE_TEXT
=>
'text'
,
Schema
::
TYPE_SMALLINT
=>
'smallint(6)'
,
Schema
::
TYPE_SMALLINT
=>
'smallint(6)'
,
...
...
framework/yii/db/mysql/QueryBuilder.php
View file @
0bf2dadd
...
@@ -22,7 +22,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
...
@@ -22,7 +22,7 @@ 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
=>
'int(11)
NOT NULL AUTO_INCREMENT PRIMARY KEY
'
,
Schema
::
TYPE_PK
=>
'int(11)
not null auto_increment primary key
'
,
Schema
::
TYPE_STRING
=>
'varchar(255)'
,
Schema
::
TYPE_STRING
=>
'varchar(255)'
,
Schema
::
TYPE_TEXT
=>
'text'
,
Schema
::
TYPE_TEXT
=>
'text'
,
Schema
::
TYPE_SMALLINT
=>
'smallint(6)'
,
Schema
::
TYPE_SMALLINT
=>
'smallint(6)'
,
...
...
framework/yii/db/sqlite/QueryBuilder.php
View file @
0bf2dadd
...
@@ -23,7 +23,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
...
@@ -23,7 +23,7 @@ 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
=>
'integer
PRIMARY KEY AUTOINCREMENT NOT NULL
'
,
Schema
::
TYPE_PK
=>
'integer
primary key autoincrement not null
'
,
Schema
::
TYPE_STRING
=>
'varchar(255)'
,
Schema
::
TYPE_STRING
=>
'varchar(255)'
,
Schema
::
TYPE_TEXT
=>
'text'
,
Schema
::
TYPE_TEXT
=>
'text'
,
Schema
::
TYPE_SMALLINT
=>
'smallint'
,
Schema
::
TYPE_SMALLINT
=>
'smallint'
,
...
...
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