now and I have a database filled with some data
now database has changed and I should update the old database
What I wanna do is that I backup my database on another server and on that server I create two models of each table .
One the old one and the other one would be the new one.
so I read data from local database on that server and create new object of that model and convert it (somehow) to the new one and store it on remote database which will be my main database?
Is it ok to do this way?
Are there any better ideas?
Could not follow everything you just said. But you might want to look into django migrations.
Обсуждают сегодня