Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why use South during initial development?

I'm wondering about the advantages of using (django) South during heavy initial development of a project.

At the early stages of development there's normally rapid model changing, frequent branching and merging (especially if you use a development strategy like git-flow) and very little, if any, stored data. Why would you want to keep of these initial model changes? What are the advantages/disadvantages?

I'm under the impression that it's easier to wait until the development settles down (and you have data you actually want to keep) before activating South and performing an initial migration. Is it possible to do that? Would you want to do that?

like image 745
adewinter Avatar asked Feb 16 '11 20:02

adewinter


People also ask

Why do we use the term Global South?

The whereabouts of the 'Global South' Instead, the term has been a general rubric for decolonised nations roughly south of the old colonial centres of power. The first references to the 'South' at the United Nations can be traced back to the 1960s. After the Cold War, the qualifier 'global' began to be added.

What is the importance of South-South cooperation in developing countries?

Together with political dialogue and financial cooperation, South-South cooperation has promoted a large number of knowledge and expertise exchanges through programs, projects and initiatives that have helped solve specific problems in the countries of the Global South.

When and why was the North South dialogue first initiated?

The North-South dialogue grew out of the experience of the developing countries in the 1950s and 1960s, when they discovered that in the U.N. General Assembly they could command world at- tention.

What is the purpose of the South-South project?

This south-south cooperation project aims essentially to share the strategy of civil society and public partners working together to construct the political will necessary to institutionalize the fight against corruption and hold accountable those who abuse their positions and their power.


1 Answers

As soon as I am about push a commit that other people need to use, I create a migration so they can still have a working copy.

If you are working alone(and not worrying about deployment), this is not an issue and you can wait until the last possible moment to create a migration.

Once you begin working with others, it makes life easier to quickly make migrations so it becomes a workflow habit and everyone is on the same database page.

Also, syncdb is not an option if you are simply modifying a field. It gets incredibly annoying to have to blow away a table just for adding, deleting or modifying fields.

If I have a bunch of schema migrations that I added, sometimes I will combine them(rollback and delete them and create a new jumbo migration) into a single migration. But normally, the number of migrations doesn't bother me because they don't cost me anything really.

like image 200
Kekoa Avatar answered Sep 28 '22 03:09

Kekoa