Skip to content

Add a repository foreignkey on Corpus

The corpus model needs a new repository nullable FK.

  • Migrate existing Repository.corpus values on Corpus.repository
  • In the same migration, make Repository.corpus & DataImport.corpus nullable.
  • The corpus serializer must expose the optional repository
Edited by Bastien Abadie