[PR #114] [CLOSED] Import one to many relations from database schema + generated XML embrace XSD specification #7726

Open
opened 2026-01-22 15:56:34 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/114
Author: @goetas
Created: 9/1/2011
Status: Closed

Base: masterHead: tdx


📝 Commits (8)

  • 8c86372 Added the ability to detect one-to-many relations in reverse
  • c379a7d The XML exporter respect the XSD definition
  • c561cdf Fix estetici
  • 3091637 Fix whitespaces
  • 239b787 Default indexes for relations with one fk column (reverse engineering)
  • 19f2092 Fix estetici
  • b42543c Ability to detect one to one relations for database reverse
  • 5238c7f better php indentation

📊 Changes

3 files changed (+93 additions, -27 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php (+56 -9)
📝 lib/Doctrine/ORM/Tools/EntityGenerator.php (+7 -2)
📝 lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php (+30 -16)

📄 Description

Added the ability to import "one to many" relations from database definition.
Improved XML exporter to embrace XSD specification (relations tag order and some empty attributes).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/114 **Author:** [@goetas](https://github.com/goetas) **Created:** 9/1/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `tdx` --- ### 📝 Commits (8) - [`8c86372`](https://github.com/doctrine/orm/commit/8c86372ffac1d86ea5da7c62695827eb67b97702) Added the ability to detect one-to-many relations in reverse - [`c379a7d`](https://github.com/doctrine/orm/commit/c379a7db50bd81770d03dec013e66f4560864285) The XML exporter respect the XSD definition - [`c561cdf`](https://github.com/doctrine/orm/commit/c561cdf3f91047afcb22febe179a6cc2b55d2d5d) Fix estetici - [`3091637`](https://github.com/doctrine/orm/commit/3091637d39b20aec090b91520b4341cdbeaae2f4) Fix whitespaces - [`239b787`](https://github.com/doctrine/orm/commit/239b787f3e89871c6d549f2c5ecb1b667faa1f55) Default indexes for relations with one fk column (reverse engineering) - [`19f2092`](https://github.com/doctrine/orm/commit/19f2092fc699c61ab2fc4c8eff1a8ec02ff3477c) Fix estetici - [`b42543c`](https://github.com/doctrine/orm/commit/b42543cae4a833b4004089996c6aad4be56f18f6) Ability to detect one to one relations for database reverse - [`5238c7f`](https://github.com/doctrine/orm/commit/5238c7ffbf5320238b34c4ac8d1b5fdeec82bafe) better php indentation ### 📊 Changes **3 files changed** (+93 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php` (+56 -9) 📝 `lib/Doctrine/ORM/Tools/EntityGenerator.php` (+7 -2) 📝 `lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php` (+30 -16) </details> ### 📄 Description Added the ability to import "one to many" relations from database definition. Improved XML exporter to embrace XSD specification (relations tag order and some empty attributes). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:56:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7726