Helper function to setup a "default" database in a form suitable for use with
dbi_storage_provider()
.
This function creates two tables (attempts and sections) and the proper indices
to ensure uniqueness of entries.
setup_database(db_con)
Currently implemented only for RPostgres or RSQLite backends.
Other storage configuration:
dbi_storage_provider()
,
storage_provider