Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-14520

Re-enable Dataset->DataUnit foreign keys

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Epic Link:
    • Sprint:
      BG3_S18_05
    • Team:
      Data Release Production

      Description

      Dataset's foreign keys to DataUnit have been commented-out in the schema file.

      Uncomment them and get things working (actually, we'll need to update their representation in the schema in order to make them compound keys).

      I've already started this in trying to get the schema on DM-12620 synced with master, and I think I'm pretty close, but it makes sense to split this off from that ticket.

        Attachments

          Activity

          Hide
          jbosch Jim Bosch added a comment -

          Re-enables foreign keys from Dataset to DataUnit tables, and adds DataUnit insertion to test code that broke as a result.

          This also revealed some problems in the ci_hsc Gen2->Gen3 conversion, which are fixed in PRs on obs_subaru and ci_hsc.

          Show
          jbosch Jim Bosch added a comment - Re-enables foreign keys from Dataset to DataUnit tables, and adds DataUnit insertion to test code that broke as a result. This also revealed some problems in the ci_hsc Gen2->Gen3 conversion, which are fixed in PRs on obs_subaru and ci_hsc.
          Hide
          pschella Pim Schellart [X] (Inactive) added a comment -

          Looks good.

          Show
          pschella Pim Schellart [X] (Inactive) added a comment - Looks good.
          Hide
          jbosch Jim Bosch added a comment -

          Thanks for the quick review. Merged to master.

          Show
          jbosch Jim Bosch added a comment - Thanks for the quick review. Merged to master.

            People

            Assignee:
            jbosch Jim Bosch
            Reporter:
            jbosch Jim Bosch
            Reviewers:
            Pim Schellart [X] (Inactive)
            Watchers:
            Jim Bosch, Pim Schellart [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.