Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1206

merge: a way to set value for null for madatory columns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0M2, 3.0M3, 3.0M4, 3.0M5
    • 3.0M6, 3.0
    • Core Library
    • None

    Description

      When adding a "not null" column to a table with rows, or when setting a column to "not null", there should be a way to tell DbMerger about the values that should be used instead of null for existing rows.

      With this information, the merger should create sql like the following before setting the column to "not null".
      update table set col='the value' where col is null;

      Attachments

        Activity

          People

            halset Tore Halset
            halset Tore Halset
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: