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
8622cb3f
Commit
8622cb3f
authored
Jun 08, 2010
by
Jonathan H. Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0][DBAL][DWEB-51] Fixing code example for schema manager
parent
3159f7ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
schema-manager.txt
reference/en/schema-manager.txt
+1
-1
No files found.
reference/en/schema-manager.txt
View file @
8622cb3f
...
...
@@ -135,7 +135,7 @@ Now we can clone the `$fromSchema` to `$toSchema` and drop a table:
Now we can compare the two schema instances in order to calculate the differences between them and return the sql required to make the changes on the database:
[php]
$sql = $fromSchema->getMigrateToSql($toSchema);
$sql = $fromSchema->getMigrateToSql($toSchema
, $conn->getDatabasePlatform()
);
The `$sql` array should give you a sql query to drop the user table:
...
...
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