Live data from Hacker News

Improving Django testing with seed database

tla.wtf

1–2 of 2 posts

Re: Improving Django testing with seed database

#2
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.