Skip to content

Instantly share code, notes, and snippets.

@chdsbd
Created September 1, 2020 20:07
Show Gist options
  • Save chdsbd/e059fe631a98dc9850a82c8b76d78b18 to your computer and use it in GitHub Desktop.
Save chdsbd/e059fe631a98dc9850a82c8b76d78b18 to your computer and use it in GitHub Desktop.
INSERT INTO legacy_understandinginstitutionpg ("created", "modified", "visible", "matching", "institution_id", "understanding_id")
SELECT
now() "created",
now() "modified",
false visible,
false matching,
1107 institution_id,
id understanding_id
FROM
legacy_understandingpg
ON CONFLICT ON CONSTRAINT legacy_understandinginst_understanding_id_institu_e85de381_uniq
DO NOTHING;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment