mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #59] [MERGED] Implemented tableName -> className and columnName -> fieldName mapping in DatabaseDriver. #7655
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/59
Author: @asm89
Created: 5/20/2011
Status: ✅ Merged
Merged: 6/11/2011
Merged by: @beberlei
Base:
master← Head:databasedriver-patch📝 Commits (3)
262ae7cImplemented tableName -> className and columnName -> fieldName mapping incec62dbRemoved _ prefix from private functions.7ee8dc4DDC-1179 - Make it possible to specify a namespace when mapping with --from-database📊 Changes
2 files changed (+115 additions, -14 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php(+102 -11)📝
lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php(+13 -3)📄 Description
As discussed with beberlei on IRC. This enables custom naming of entities and fieldnames when re-engineering from the database. It can be used when the mapping is done with a script, not by the commandline (yet?).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.