M
M
mashincode2021-05-30 23:42:45
PostgreSQL
mashincode, 2021-05-30 23:42:45

How to unload the old database into a new one if some models have changed?

I have a sql and json file of the old version of the Django project, some models have changed in the new version (however, not the data of which I am trying to load), because of this, it is not possible to load the database via psql or loaddata , what could be the way out if Need to upload data to a new version of the site?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maksam07, 2021-06-04
@maksam07

Parsing a json file, reformatting for a new database, loading into a new database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question