I am using south
for migrations. Today I surprisingly found an interesting article, django1.7 support migrations.
Interestingly I found that the startapp
command even creates a folder migrations
.
python manage.py startapp myapp
has tree:
myapp/
admin.py
models.py
views.py
tests.py
migrations/ <-- folder migrations
I also found command ./manage.py makemigrations
, is it similar to:
./manage.py schemamigration myapp --initial
or ./manage.py schemamigration myapp --auto
So what about datamigration
??
Also found command ./manage.py migrate
, i hope it is similar to south's ./manage.py migrate
command.
So there is no ./manage.py syncdb
command in django1.7
??