Hacker News new | ask | show | jobs
Improving Django testing with seed database (tla.wtf)
2 points by kiloreven 870 days ago
1 comments

When using Django, one of the things I am missing from rails is the `db/schema.rb` file containing the whole db structure as ruby code. It is great for getting an overview of what tables there are and also allows you to quickly recreate the db in any adapter (e.g. sqlite for test, postgres for dev, …) without going through all the migrations as Django does.