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
1af04e1e
Commit
1af04e1e
authored
Mar 07, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #2661: Added boolean column type support for SQLite
parent
35018bfb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
Schema.php
framework/db/sqlite/Schema.php
+2
-0
No files found.
framework/CHANGELOG.md
View file @
1af04e1e
...
@@ -135,6 +135,7 @@ Yii Framework 2 Change Log
...
@@ -135,6 +135,7 @@ Yii Framework 2 Change Log
-
Enh #2525: Added support for formatting file sizes with
`yii\base\Formatter`
(VinceG)
-
Enh #2525: Added support for formatting file sizes with
`yii\base\Formatter`
(VinceG)
-
Enh #2526: Allow for null values in batchInsert (skotos)
-
Enh #2526: Allow for null values in batchInsert (skotos)
-
Enh #2646: Added support for specifying hostinfo in the pattern of a URL rule (qiangxue)
-
Enh #2646: Added support for specifying hostinfo in the pattern of a URL rule (qiangxue)
-
Enh #2661: Added boolean column type support for SQLite (qiangxue)
-
Enh: Added support for using arrays as option values for console commands (qiangxue)
-
Enh: Added support for using arrays as option values for console commands (qiangxue)
-
Enh: Added
`favicon.ico`
and
`robots.txt`
to default application templates (samdark)
-
Enh: Added
`favicon.ico`
and
`robots.txt`
to default application templates (samdark)
-
Enh: Added
`Widget::autoIdPrefix`
to support prefixing automatically generated widget IDs (qiangxue)
-
Enh: Added
`Widget::autoIdPrefix`
to support prefixing automatically generated widget IDs (qiangxue)
...
...
framework/db/sqlite/Schema.php
View file @
1af04e1e
...
@@ -24,6 +24,8 @@ class Schema extends \yii\db\Schema
...
@@ -24,6 +24,8 @@ class Schema extends \yii\db\Schema
public
$typeMap
=
[
public
$typeMap
=
[
'tinyint'
=>
self
::
TYPE_SMALLINT
,
'tinyint'
=>
self
::
TYPE_SMALLINT
,
'bit'
=>
self
::
TYPE_SMALLINT
,
'bit'
=>
self
::
TYPE_SMALLINT
,
'boolean'
=>
self
::
TYPE_BOOLEAN
,
'bool'
=>
self
::
TYPE_BOOLEAN
,
'smallint'
=>
self
::
TYPE_SMALLINT
,
'smallint'
=>
self
::
TYPE_SMALLINT
,
'mediumint'
=>
self
::
TYPE_INTEGER
,
'mediumint'
=>
self
::
TYPE_INTEGER
,
'int'
=>
self
::
TYPE_INTEGER
,
'int'
=>
self
::
TYPE_INTEGER
,
...
...
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