i recommend using the sgn fixture for setting up a fresh database: https://github.com/solgenomics/sgn/blob/master/t/data/fixture/empty_fixture.sql