Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doctrinebot/d9d77a8ba11037d3e91f to your computer and use it in GitHub Desktop.
Save doctrinebot/d9d77a8ba11037d3e91f to your computer and use it in GitHub Desktop.
Attachments to Doctrine Jira Issue DBAL-195 - https://github.com/doctrine/dbal/issues/1366
Index: AbstractSchemaManager.php
===================================================================
--- AbstractSchemaManager.php (revision 22)
+++ AbstractSchemaManager.php (working copy)
@@ -468,8 +468,8 @@
*/
public function dropAndCreateSequence(Sequence $sequence)
{
- $this->tryMethod('createSequence', $seqName, $start, $allocationSize);
- $this->createSequence($seqName, $start, $allocationSize);
+ $this->tryMethod('dropSequence', $sequence->getQuotedName($this->_platform));
+ $this->createSequence($sequence);
}
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment