mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-470: Missing method addColumn #585
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?
Originally created by @doctrinebot on GitHub (Mar 25, 2010).
Jira issue originally created by user drak:
I was following the examples in http://www.doctrine-project.org/documentation/manual/2_0/en/dbal#database-access-layer-introduction:schema-representation and it appears that the method addColumn referred to in \Doctrine\DBAL\Schema\Table is missing. I don't know if this is intentional but there doesnt appear to be a public method to allow us to add a column.
@doctrinebot commented on GitHub (Mar 25, 2010):
Comment created by drak:
On further investigation, maybe it's just a documentation issue as the createColumn method looks like it might be the same thing? Certainly replacing addColumn() with createColumn() works.
@doctrinebot commented on GitHub (Mar 25, 2010):
Comment created by @beberlei:
The method was renamed afte rthee release of alpha 4 to be more consistent with the other methods, which are add*().
@doctrinebot commented on GitHub (Mar 25, 2010):
Issue was closed with resolution "Duplicate"