Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Use new db schema migration API correctly #367

Merged
merged 1 commit into from
Nov 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ script:
- ./typo3cms database:updateschema "*" --verbose
- ./typo3cms database:export > /dev/null
- echo "SELECT username from be_users where admin=1;" | ./typo3cms database:import
- echo "DROP TABLE fe_users;" | ./typo3cms database:import
- ./typo3cms database:updateschema "*" --verbose
- ./typo3cms frontend:request / > /dev/null
- ./typo3cms documentation:generatexsd TYPO3\\CMS\\Fluid\\ViewHelpers > /dev/null
- ./typo3cms configuration:show BE/installToolPassword
Expand Down
2 changes: 1 addition & 1 deletion Classes/Database/Schema/SchemaUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ public function getDestructiveUpdates()
*/
public function migrate(array $statements, array $selectedStatements)
{
return $this->schemaMigrator->migrate($statements, $selectedStatements);
return $this->schemaMigrator->migrate($this->sqlReader->getCreateTableStatementArray($this->sqlReader->getTablesDefinitionString()), $selectedStatements);
}
}