Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Tomáš Trávníček
doctrine-dbal
Commits
63b1213f
Commit
63b1213f
authored
Oct 17, 2011
by
Steven Rosato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for DBAL-158, double precision not working with sqlite.
parent
5084e6bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
29 deletions
+30
-29
SqlitePlatform.php
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
+30
-29
No files found.
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
View file @
63b1213f
...
@@ -455,35 +455,36 @@ class SqlitePlatform extends AbstractPlatform
...
@@ -455,35 +455,36 @@ class SqlitePlatform extends AbstractPlatform
protected
function
initializeDoctrineTypeMappings
()
protected
function
initializeDoctrineTypeMappings
()
{
{
$this
->
doctrineTypeMapping
=
array
(
$this
->
doctrineTypeMapping
=
array
(
'boolean'
=>
'boolean'
,
'boolean'
=>
'boolean'
,
'tinyint'
=>
'boolean'
,
'tinyint'
=>
'boolean'
,
'smallint'
=>
'smallint'
,
'smallint'
=>
'smallint'
,
'mediumint'
=>
'integer'
,
'mediumint'
=>
'integer'
,
'int'
=>
'integer'
,
'int'
=>
'integer'
,
'integer'
=>
'integer'
,
'integer'
=>
'integer'
,
'serial'
=>
'integer'
,
'serial'
=>
'integer'
,
'bigint'
=>
'bigint'
,
'bigint'
=>
'bigint'
,
'bigserial'
=>
'bigint'
,
'bigserial'
=>
'bigint'
,
'clob'
=>
'text'
,
'clob'
=>
'text'
,
'tinytext'
=>
'text'
,
'tinytext'
=>
'text'
,
'mediumtext'
=>
'text'
,
'mediumtext'
=>
'text'
,
'longtext'
=>
'text'
,
'longtext'
=>
'text'
,
'text'
=>
'text'
,
'text'
=>
'text'
,
'varchar'
=>
'string'
,
'varchar'
=>
'string'
,
'varchar2'
=>
'string'
,
'varchar2'
=>
'string'
,
'nvarchar'
=>
'string'
,
'nvarchar'
=>
'string'
,
'image'
=>
'string'
,
'image'
=>
'string'
,
'ntext'
=>
'string'
,
'ntext'
=>
'string'
,
'char'
=>
'string'
,
'char'
=>
'string'
,
'date'
=>
'date'
,
'date'
=>
'date'
,
'datetime'
=>
'datetime'
,
'datetime'
=>
'datetime'
,
'timestamp'
=>
'datetime'
,
'timestamp'
=>
'datetime'
,
'time'
=>
'time'
,
'time'
=>
'time'
,
'float'
=>
'float'
,
'float'
=>
'float'
,
'double'
=>
'float'
,
'double'
=>
'float'
,
'real'
=>
'float'
,
'double precision'
=>
'float'
,
'decimal'
=>
'decimal'
,
'real'
=>
'float'
,
'numeric'
=>
'decimal'
,
'decimal'
=>
'decimal'
,
'numeric'
=>
'decimal'
,
);
);
}
}
...
...
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