Doctrine 1
  1. Doctrine 1
  2. DC-980

Moving all ALTERS queries to the end of generated sql file (task build-sql)

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Cli, Schema Files
    • Labels:
      None

      Description

      Actual in case of using multi database configuration and foreign keys between them.

      Now build-sql task generates SQL query for database by database in alphabetical order. It's ugly when we have multidatabase configuration and foreign keys between their tables. It's impossible to do 'import-sql' without errors beucase foreign keys constrains to nonexisting tables are in next database in order.

      I have added some code to strings 1176-...

      1. Export.php
        55 kB
        Sergey Eremenko

        Activity

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Sergey Eremenko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: