DDC-84: Add Schema Tool Tests with incremental changes against all platforms #102

Closed
opened 2026-01-22 12:27:10 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 31, 2009).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

The SchemaTool::getUpdateSchemaSql() method only needs SchemaManager::listTables() and SchemaManager::listTableColumns() methods which connect to the database. It is possible to write a little helper that pointing to a database generates this "current fixture". With this abstracted data you can then load the corresponding metadata to that database and test if incremental changes in the schema tool create the correct ALTER sql code.

Originally created by @doctrinebot on GitHub (Oct 31, 2009). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: The SchemaTool::getUpdateSchemaSql() method only needs SchemaManager::listTables() and SchemaManager::listTableColumns() methods which connect to the database. It is possible to write a little helper that pointing to a database generates this "current fixture". With this abstracted data you can then load the corresponding metadata to that database and test if incremental changes in the schema tool create the correct ALTER sql code.
admin added the Improvement label 2026-01-22 12:27:10 +01:00
admin closed this issue 2026-01-22 12:27:10 +01:00
Author
Owner

@doctrinebot commented on GitHub (Nov 4, 2009):

Comment created by @beberlei:

Tests implemented

@doctrinebot commented on GitHub (Nov 4, 2009): Comment created by @beberlei: Tests implemented
Author
Owner

@doctrinebot commented on GitHub (Nov 4, 2009):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Nov 4, 2009): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#102