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
029761d7
Commit
029761d7
authored
Oct 09, 2007
by
Jonathan.Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reversing change.
parent
16c32e2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Schema.php
lib/Doctrine/Import/Schema.php
+1
-1
No files found.
lib/Doctrine/Import/Schema.php
View file @
029761d7
...
...
@@ -144,7 +144,6 @@ class Doctrine_Import_Schema
if
(
isset
(
$table
[
'columns'
]))
{
foreach
(
$table
[
'columns'
]
as
$columnName
=>
$field
)
{
$colDesc
=
array
();
$colDesc
[
'name'
]
=
isset
(
$field
[
'name'
])
?
(
string
)
$field
[
'name'
]
:
$columnName
;
$colDesc
[
'type'
]
=
isset
(
$field
[
'type'
])
?
(
string
)
$field
[
'type'
]
:
null
;
...
...
@@ -156,6 +155,7 @@ class Doctrine_Import_Schema
$colDesc
[
'default'
]
=
isset
(
$field
[
'default'
])
?
(
string
)
$field
[
'default'
]
:
null
;
$colDesc
[
'notnull'
]
=
isset
(
$field
[
'notnull'
])
?
(
bool
)
(
isset
(
$field
[
'notnull'
])
&&
$field
[
'notnull'
])
:
null
;
$colDesc
[
'autoincrement'
]
=
isset
(
$field
[
'autoincrement'
])
?
(
bool
)
(
isset
(
$field
[
'autoincrement'
])
&&
$field
[
'autoincrement'
])
:
null
;
$colDesc
[
'unique'
]
=
isset
(
$field
[
'unique'
])
?
(
bool
)
(
isset
(
$field
[
'unique'
])
&&
$field
[
'unique'
])
:
null
;
$colDesc
[
'values'
]
=
isset
(
$field
[
'values'
])
?
(
array
)
$field
[
'values'
]
:
null
;
$columns
[(
string
)
$colDesc
[
'name'
]]
=
$colDesc
;
...
...
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