Changeset View
Changeset View
Standalone View
Standalone View
sql/archiver/content_archive_initialize.sql
- This file was added.
/* Create the entry for the object storage Banco */ | |||||
INSERT INTO archives(id, url) | |||||
VALUES('Banco', 'http://banco.softwareheritage.org:5003/'); | |||||
ardumont: Like i noted on T412, we need to change the identifier.
Sorry i did not see it earlier.
This… | |||||
/* Fill the archive table with all the content as missing */ | |||||
INSERT INTO content_archive | |||||
SELECT sha1, id, 'missing', now() | |||||
FROM content, archives; | |||||
ardumontUnsubmitted Not Done Inline Actionsardumont: @olasd pointed me to the right file (concerning the backup-ed content in banco) so this is no… | |||||
ardumontUnsubmitted Not Done Inline Actions
which is already the case ^^ ardumont: > status as enum (also to reduce storage size).
which is already the case ^^ |
Like i noted on T412, we need to change the identifier.
Sorry i did not see it earlier.
This text of 5 (for Banco) multiplied by the number of contents (one per row in content_archive), too much lost space.
A simple integer should be enough.