diff --git a/make/migrations/postgresql/0110_2.8.0_schema.up.sql b/make/migrations/postgresql/0110_2.8.0_schema.up.sql new file mode 100644 index 000000000..0b4daea1f --- /dev/null +++ b/make/migrations/postgresql/0110_2.8.0_schema.up.sql @@ -0,0 +1,2 @@ +/* remove the redundant data from table artifact_blob */ +delete from artifact_blob afb where not exists (select digest from blob b where b.digest = afb.digest_af); \ No newline at end of file