ossf / package-analysis

Open Source Package Analysis
Apache License 2.0
714 stars 51 forks source link

Revert "Adjust the query to keep the destination rather than replace" #1014

Closed calebbrown closed 4 months ago

calebbrown commented 4 months ago

Reverts #1013

This reverts commit 836a6a2a0aa318a84492a43a16070c3da33a9d17.

TRUNCATE + INSERT failed, so reverting back to the CREATE OR REPLACE

1000

maxfisher-g commented 4 months ago

Is there some way of manually checking whether the schema is different, and exiting if it is?

calebbrown commented 4 months ago

Is there some way of manually checking whether the schema is different, and exiting if it is?

PTAL. I've added a check that aborts if the schemas are not identical.

maxfisher-g commented 4 months ago

Nice, thanks Caleb!