Skip to content

Add refresh CDM command #45

@AndyRae

Description

@AndyRae

Is this the right issue type?

  • Yes, I'm planning work for this project team.

Summary

omop-lite should be able to update a CDM.

updating a cdm is basically impossible though, as you'll do a diff between them.

so instead it should rename schemas and reload new data. it is a refresh.

Add an refresh command

  1. create new staging schema
  2. create new cdm here
  3. rename existing omop schema to archived_omop_cdm_{date}
  4. rename staging schema to this

Acceptance Criteria

  • refresh command works
  • Tests pass.
  • Documentation added.

Tasks

  • add refresh command
  • Unit tests.
  • Documentation.

Confirm creation

  • Ready to create this deliverable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions