Skip to content
Snippets Groups Projects
Commit d9b6398c authored by Jenkins for Software Heritage's avatar Jenkins for Software Heritage
Browse files

Update upstream source from tag 'debian/upstream/0.0.5'

Update to upstream version '0.0.5'
with Debian dir 61b6ea3c31bbaf27f8437d2aaf272b46123b4525
parents a6d281c0 b8efe7de
No related branches found
No related tags found
No related merge requests found
Metadata-Version: 2.1
Name: swh.scrubber
Version: 0.0.4
Version: 0.0.5
Summary: Software Heritage Datastore Scrubber
Home-page: https://forge.softwareheritage.org/diffusion/swh-scrubber
Author: Software Heritage developers
......
Metadata-Version: 2.1
Name: swh.scrubber
Version: 0.0.4
Version: 0.0.5
Summary: Software Heritage Datastore Scrubber
Home-page: https://forge.softwareheritage.org/diffusion/swh-scrubber
Author: Software Heritage developers
......
......@@ -44,6 +44,7 @@ swh/scrubber/utils.py
swh/scrubber/sql/20-enums.sql
swh/scrubber/sql/30-schema.sql
swh/scrubber/sql/60-indexes.sql
swh/scrubber/sql/upgrades/2.sql
swh/scrubber/tests/__init__.py
swh/scrubber/tests/conftest.py
swh/scrubber/tests/test_cli.py
......
-- SWH Scrubber DB schema upgrade
-- from_version: 1
-- to_version: 2
-- description: Add fixed_objects
create table fixed_object
(
id swhid not null,
object bytea not null,
method text,
recovery_date timestamptz not null default now()
);
comment on table fixed_object is 'Each row identifies an object that was found to be corrupt, along with the original version of the object';
comment on column fixed_object.object is 'The recovered object itself, as a msgpack-encoded dict';
comment on column fixed_object.recovery_date is 'Moment the object was recovered.';
comment on column fixed_object.method is 'How the object was recovered. For example: "from_origin", "negative_utc", "capitalized_revision_parent".';
-- fixed_object
create unique index concurrently fixed_object_pkey on fixed_object(id);
alter table fixed_object add primary key using index fixed_object_pkey;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment