Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Either way the end result is a single file in migrations/ that describes the change, though you do have to write it with Django's API if you want further migrations to work without issues (so no raw SQL, but this low-level API is things like CreateTable() and AddColumn() - and is what Django generates automatically from the models, so the auto-generated migrations are easily inspectable and won't change).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: