f-klubben / nottherealstregsystem

*DEPRICATED* The Stregsystem is used at F-Klubben to pay for goods bought at Strandvejen and for signup to various events held by F-klubben.
http://fff.fklub.dk/treo/stregsystem
Other
6 stars 2 forks source link

Added initial migration for the old old system. #6

Closed fishbacon closed 9 years ago

fishbacon commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

Closed, we will be doing it in another way.