Page MenuHomeSoftware Heritage

Add support for omitting origin type when calling origin_get.
ClosedPublic

Authored by vlorentz on Jun 6 2019, 4:14 PM.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

add 'create extension' in migration script.

ardumont added inline comments.
sql/upgrades/135.sql
7

135?

9

I think that needs to run as postgres user.
So not sure if that needs to be declared here, maybe in comments instead?

vlorentz added inline comments.
sql/upgrades/135.sql
9

create extension statements are in swh/storage/sql/ same as everything else, so it's consistent to put that in the migration script.

sql/upgrades/135.sql
9

Yes.
My doubt is not about consistency, it's about running when applied during migration.
But meh ;)

This revision is now accepted and ready to land.Jun 6 2019, 4:25 PM
This revision was landed with ongoing or failed builds.Jun 6 2019, 4:37 PM
This revision was automatically updated to reflect the committed changes.