Page MenuHomeSoftware Heritage

models: use the same declarative base class for all models
ClosedPublic

Authored by douardda on Wed, Sep 4, 11:53 AM.

Details

Summary

This is needed to fix the db-init implementation so the debian loader (which
does use the SQLBase from swh.storage) have its models declared in the
MetaData used by the initialize() function.

Depends on D1947

Diff Detail

Repository
rDLS Listers
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Wed, Sep 4, 11:53 AM
ardumont accepted this revision.Wed, Sep 4, 2:58 PM
This revision is now accepted and ready to land.Wed, Sep 4, 2:58 PM
This revision was automatically updated to reflect the committed changes.