work_attribute check is wrong

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2013-11-11
    • Affects Version/s: None
    • Component/s: None
    • None

      The work_attribute table has the following in CreateTables:

      -- Either it has a value from the allowed list, or is free text
      CHECK ( work_attribute_type_allowed_value IS NULL OR work_attribute_text IS NULL )
      

      However, that check does not achieve what the comment asks for (because it's possible for both to be null).

            Assignee:
            Oliver Charles
            Reporter:
            Oliver Charles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2013-11-11