Playing with models and databases