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
5d449f6a
Commit
5d449f6a
authored
Dec 10, 2006
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added enum support for export
parent
4b6008b1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
0 deletions
+5
-0
Firebird.php
lib/Doctrine/DataDict/Firebird.php
+1
-0
Mssql.php
lib/Doctrine/DataDict/Mssql.php
+1
-0
Mysql.php
lib/Doctrine/DataDict/Mysql.php
+1
-0
Oracle.php
lib/Doctrine/DataDict/Oracle.php
+1
-0
Pgsql.php
lib/Doctrine/DataDict/Pgsql.php
+1
-0
No files found.
lib/Doctrine/DataDict/Firebird.php
View file @
5d449f6a
...
...
@@ -72,6 +72,7 @@ class Doctrine_DataDict_Firebird extends Doctrine_DataDict {
case
'blob'
:
return
'BLOB SUB_TYPE 0'
;
case
'integer'
:
case
'enum'
:
return
'INT'
;
case
'boolean'
:
return
'SMALLINT'
;
...
...
lib/Doctrine/DataDict/Mssql.php
View file @
5d449f6a
...
...
@@ -86,6 +86,7 @@ class Doctrine_DataDict_Mssql extends Doctrine_DataDict {
}
return
'IMAGE'
;
case
'integer'
:
case
'enum'
:
return
'INT'
;
case
'boolean'
:
return
'BIT'
;
...
...
lib/Doctrine/DataDict/Mysql.php
View file @
5d449f6a
...
...
@@ -97,6 +97,7 @@ class Doctrine_DataDict_Mysql extends Doctrine_DataDict {
}
return
'LONGBLOB'
;
case
'integer'
:
case
'enum'
:
if
(
!
empty
(
$field
[
'length'
]))
{
$length
=
$field
[
'length'
];
if
(
$length
<=
1
)
{
...
...
lib/Doctrine/DataDict/Oracle.php
View file @
5d449f6a
...
...
@@ -69,6 +69,7 @@ class Doctrine_DataDict_Oracle extends Doctrine_DataDict {
case
'blob'
:
return
'BLOB'
;
case
'integer'
:
case
'enum'
:
if
(
!
empty
(
$field
[
'length'
]))
{
return
'NUMBER('
.
$field
[
'length'
]
.
')'
;
}
...
...
lib/Doctrine/DataDict/Pgsql.php
View file @
5d449f6a
...
...
@@ -374,6 +374,7 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict {
return
'TEXT'
;
case
'blob'
:
return
'BYTEA'
;
case
'enum'
:
case
'integer'
:
if
(
!
empty
(
$field
[
'autoincrement'
]))
{
if
(
!
empty
(
$field
[
'length'
]))
{
...
...
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