Skip to content

Commit

Permalink
Merge pull request sonata-project#119 from sitesupra/revision_sequenc…
Browse files Browse the repository at this point in the history
…e_name

fix for sequence names
  • Loading branch information
andrewtch committed Feb 3, 2015
2 parents 1267ee8 + 912303e commit 56a300c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private function getRevisionId()
));

$sequenceName = $this->platform->supportsSequences()
? 'REVISIONS_ID_SEQ'
? $this->platform->getIdentitySequenceName($this->config->getRevisionTableName(), 'id')
: null;

$this->revisionId = $this->conn->lastInsertId($sequenceName);
Expand Down

0 comments on commit 56a300c

Please sign in to comment.