Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Added initial migration for the old old system. #6

Closed
wants to merge 1 commit into from

Conversation

fishbacon
Copy link
Contributor

Since I am bad at version control I added master instead of an independent branch so my new commits were added in #5. I am an hero!

Using the old model for generating a migrations file.

I also added stregsystem to installed apps.

This pull request is related to issue #4.

@HenrikOssipoff
Copy link
Contributor

Of interest, what is the idea behind a migration file describing the old models?

All this would essentially do would be to create the old tables in the new database; what purpose would this serve?

Is my thinking correct if your idea is to import everything old into the old structure, and then make new models have have them start with no data (from scratch)?

Just trying to figure out what the thought process is here.

@fishbacon
Copy link
Contributor Author

We have a ton of data (almost no data though) which we need to somehow migrate from this model to the (eventual) new model. Django needs to know the fields it can access in the old models to migrate the data to the new models.

Is this completely misguided?

@fishbacon fishbacon closed this Feb 25, 2015
@fishbacon fishbacon deleted the migrations branch February 25, 2015 23:05
@fishbacon
Copy link
Contributor Author

Closed, we will be doing it in another way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants