Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-221

Schema toSQL() and toDropSQL() both need to delegete creation/drop of schema-level elements

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      The following schema-level changes have to be done before tables are created:

      • create Schema (PGSQL, MySQL, ...)
      • Create Federations (Azure)
      • Create Types (PGSQL, Oracle, ...)
      • Create Views, Stored Procedures, Triggers

      We should add the following APIs:

      array $sql AbstractPlatform::getCreateSchemaAdditionalStatements(Schema $schema);
      $object = new SQLObject($sqlUpCommand, $sqlDropCommand);
      $schema->addSQLObject($object);
      

        Activity

        Benjamin Eberlei created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Workflow jira [ 13440 ] jira-feedback2 [ 17597 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17597 ] jira-feedback3 [ 19951 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.4 [ 10320 ]
        Fix Version/s 2.3 [ 10184 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.5 [ 10523 ]
        Fix Version/s 2.4 [ 10320 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-221, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: