""" defaults Insert defaults values in the tables """ if not db(db.authors_roles).count(): db.authors_roles.insert(id=undef_id, role=undef) if not db(db.categories).count(): db.categories.insert(id=undef_id, code=undef, usual=undef, definition=undef) if not db(db.collaborations).count(): db.collaborations.insert(id=undef_id, collaboration=undef) if not db(db.countries).count(): db.countries.insert(id=undef_id, country=undef) if not db(db.organisation).count(): db.organisation.insert(id=undef_id, id_teams=undef_id, id_projects=undef_id) if not db(db.projects).count(): db.projects.insert(id=undef_id, project=undef, agencies=undef) if not db(db.publishers).count(): db.publishers.insert(id=undef_id, publisher=undef, abbreviation=undef) if not db(db.reports).count(): db.reports.insert(id=undef_id, type=undef) if not db(db.status).count(): db.status.insert(id=undef_id, code=undef, definition=undef) if not db(db.teams).count(): db.teams.insert(id=undef_id, team=undef, domain=undef)