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
afabadcf
Commit
afabadcf
authored
Dec 28, 2014
by
Marco Pivetta
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix/backport-#757-DBAL-1093-to-2.5' into 2.5
parents
2e4ed5f8
21a2bf6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
42 deletions
+0
-42
PostgreSqlSchemaManager.php
lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
+0
-42
No files found.
lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
View file @
afabadcf
...
@@ -129,48 +129,6 @@ class PostgreSqlSchemaManager extends AbstractSchemaManager
...
@@ -129,48 +129,6 @@ class PostgreSqlSchemaManager extends AbstractSchemaManager
);
);
}
}
/**
* {@inheritdoc}
*/
public
function
dropDatabase
(
$database
)
{
$params
=
$this
->
_conn
->
getParams
();
$params
[
"dbname"
]
=
"postgres"
;
$tmpPlatform
=
$this
->
_platform
;
$tmpConn
=
$this
->
_conn
;
$this
->
_conn
=
\Doctrine\DBAL\DriverManager
::
getConnection
(
$params
);
$this
->
_platform
=
$this
->
_conn
->
getDatabasePlatform
();
parent
::
dropDatabase
(
$database
);
$this
->
_conn
->
close
();
$this
->
_platform
=
$tmpPlatform
;
$this
->
_conn
=
$tmpConn
;
}
/**
* {@inheritdoc}
*/
public
function
createDatabase
(
$database
)
{
$params
=
$this
->
_conn
->
getParams
();
$params
[
"dbname"
]
=
"postgres"
;
$tmpPlatform
=
$this
->
_platform
;
$tmpConn
=
$this
->
_conn
;
$this
->
_conn
=
\Doctrine\DBAL\DriverManager
::
getConnection
(
$params
);
$this
->
_platform
=
$this
->
_conn
->
getDatabasePlatform
();
parent
::
createDatabase
(
$database
);
$this
->
_conn
->
close
();
$this
->
_platform
=
$tmpPlatform
;
$this
->
_conn
=
$tmpConn
;
}
/**
/**
* {@inheritdoc}
* {@inheritdoc}
*/
*/
...
...
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