Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.2.0
-
Fix Version/s: None
-
Component/s: Migrations
-
Labels:None
-
Environment:Windows 7, Apache 2.2.14, PHP 5.2.11, MySQL 5.0.86
Description
I provided the following bug report on the symfony website and was redirected here. The response I received was:
Ticket #8438 (closed defect: invalid)
03/20/10 12:55:04 changed by Kris.Wallsmith
- status changed from new to closed.
- resolution set to invalid.
The symfony task is a wrapper for the Doctrine task. Please post issues to their Jira. http://www.doctrine-project.org/jira
------------------
Bug details:
------------------
When running doctrine:generate-migrations-diff, I am receiving foreign key files. However, my schema.yml is defined as such:
attributes:
export: tables
TableOne:
columns:
...
TableTwo:
columns:
...
It would appear that when running doctrine:build it properly ignores the foreign key generation, but that it does not when running doctrine:generate-migrations-diff. This task should be corrected to take this attribute into account. Keep in mind that this may be relevant to the other migration tasks, and they should be updated as well if this is a valid bug.