Torque
  1. Torque
  2. TORQUE-254

views must be dropped before tables are dropped

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-beta1
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      In some databases (derby), tables cannot be dropped if views still reference them.
      However, the generated sql looked like
      Drop table..
      Create table..
      Drop View...
      Create View

      It should be
      Drop view..
      Drop table...
      Create Table...
      Create View...

        Activity

        Thomas Fox created issue -
        Thomas Fox made changes -
        Field Original Value New Value
        Summary views must be dropped before tables are created views must be dropped before tables are dropped
        Thomas Fox made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Thomas Fox [ tfischer ]
        Resolution Fixed [ 1 ]
        Thomas Fox made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Thomas Fox
            Reporter:
            Thomas Fox
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development