mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-313: Remove all the unnecessary stuff from Schema and Platform, like Triggers #390
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 (Feb 10, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
-There should be graceful support for triggers in DBAL\Table instances if this is possible accross platforms.-
-Relevant use-cases are a post schema generation event in SchemaTool or any application that works with triggers. Some databases might even require Trigger support to allow for foreign key or auto-increment keys like Sqlite (FK) or Oracle (Auto-Increment). This could then nicely be done by the Fix Schema visitor which transforms "explicit" database objects into the database supported object that emulates this behaviour.-
There is so much dead and unnecessary code in DBAL\Platform and DBAL\Schema that should be removed.
@doctrinebot commented on GitHub (Feb 11, 2010):
Comment created by @beberlei:
The following information is required to completely define a trigger, any platform that does not support the creating and retrieval of this information returns false on "supportsTriggers".
All 4 platforms Mysql, Sqlite, Oracle and Postgres support retrieval and adding of this information.
@doctrinebot commented on GitHub (Feb 11, 2010):
Comment created by @beberlei:
Not possible in a general way, additionally list functions and list users are quite useless also. Will all be removed.
@doctrinebot commented on GitHub (Feb 11, 2010):
Comment created by @beberlei:
Removed a great bunch of unnecessary and un-needed code from Platform and Schema.
@doctrinebot commented on GitHub (Feb 11, 2010):
Issue was closed with resolution "Fixed"