Add a console script to populate a test database.
Adding extra constraints and indexes.